1
0

Fix FORMAT$

This commit is contained in:
otya128
2016-12-08 20:01:40 +09:00
parent 3de90d2f41
commit 0ce9b370ad
2 changed files with 129 additions and 36 deletions

View File

@@ -155,6 +155,24 @@ class SubscriptOutOfRange : SmileBasicError
super("Subscript out of range");
}
}
class StringTooLong : SmileBasicError
{
this()
{
this.errnum = 41;
super("String too long");
}
this(string func)
{
this.errnum = 41;
super("String too long(" ~ func ~ ")");
}
this(string func, int arg)
{
this.errnum = 41;
super("String too long(" ~ func ~ ":" ~ arg.to!string ~ ")");
}
}
class CantUseFromDirectMode : SmileBasicError
{
this()