Implement GOSUB/GOTO x:@LABEL
This commit is contained in:
1 parent
5c6ec3e9e0
commit
abdd6cdc8c
3 files changed
+71
-17
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user