1
0

とりあえず関数呼び出し

This commit is contained in:
otya128
2015-06-13 20:21:11 +09:00
parent 4b530f492e
commit dec42422b5
6 changed files with 160 additions and 15 deletions

View File

@@ -59,15 +59,18 @@ V[0,1]=12
?\"ABC\"[1][0]
?1/2
GOSUB @A
?A()
END
@A
?\"SUBROUTINE TEST\"
RETURN
DEF A()
?\"FUNCTION A\"
RETURN 1
END
DEF B(A,B[],C)
?\"FUNCTION B\"
RETURN 0
END
");
version(none) auto parser = new Parser(readText("FIZZBUZZ.TXT").to!wstring);
@@ -80,6 +83,10 @@ END
{
writeln(sbe);
}
catch(Throwable t)
{
writeln(t);
}
readln();
return 0;
}