1
0

Implement GOSUB/GOTO x:@LABEL

This commit is contained in:
otya128
2016-12-29 16:16:56 +09:00
parent 5c6ec3e9e0
commit abdd6cdc8c
3 changed files with 71 additions and 17 deletions

View File

@@ -38,6 +38,14 @@ class SmileBasicError : Exception
return message2;
}
}
class InternalError : SmileBasicError
{
this()
{
this.errnum = 1;
super("Internal Error");
}
}
class SyntaxError : SmileBasicError
{
this()
@@ -203,6 +211,14 @@ class SubscriptOutOfRange : SmileBasicError
super("Subscript out of range(" ~ func ~ ":" ~ arg.to!string ~ ")");
}
}
class IllegalSymbolString : SmileBasicError
{
this()
{
this.errnum = 34;
super("Illegal symbol string");
}
}
class UsePRGEDITBeforeAnyPRGFunction : SmileBasicError
{
this(string func)