Implement GOSUB/GOTO x:@LABEL

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

No files matched your search

+16
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)