モバイル端末で動作する Tiny BASIC
              モバイル端末で動作する Tiny BASIC
ver 2.x is released
https://play.google.com/store/apps/details?id=org.dyndns.vivi.TinyBASIC2
command:
 '<LineNum> <statement>': add line
 '<LineNum>': remove line <lineNum>
 'RUN': run program
 'NEW': clear program
 'LIST': print program
 'RENUM': renumber program
 'LOAD <fileName>': load from <fileName>
 'SAVE <fileName>': save to <fileName>
 'DIR': print saved files list
statement:
 '<var> = <exp>' assign <exp> to <var>
 'PRINT {<exp>|<string>}': print <exp> or <string>
 'IF <exp> THEN {<statement>|<lineNum>}': if <exp> then exec
 'FOR <var>=<exp1> TO <exp2>': for loop
 'NEXT': inc <var> and loop
 'GOTO <lineNum>': jump to line <lineNum>
 'GOSUB <lineNum>': call subroutine
 'RETURN': return from subroutine
 'END' 
expression:
<exp> ::= <term> | <term> <op> <exp>
<term> ::= [-] {<digits> | <var> | ( <exp> )}
<var> ::= A | B | ...| Z | @(<exp>)
<op> ::= AND | OR | = | <> | > | >= | < | <= | + | - | * | / | %
Website: http://vivi.dyndns.org/games/TinyBASIC/