TOYOSHIKI Tiny BASIC for CP/M
The code tested in 60K CP/M 2.2 for SHARP X1.(on emulator)
Operation example
> list
10 FOR I=2 TO -2 STEP -1; GOSUB 100; NEXT I
20 STOP
100 REM Subroutine
110 PRINT ABS(I); RETURN
OK
>run
2
1
0
1
2
OK
>
The grammar is the same as
PALO ALTO TinyBASIC by Li-Chen Wang
Except 4 point to show below.
(1)The contracted form of the description is invalid.
(2)Force abort key
PALO ALTO TinyBASIC -> [Ctrl]+[C]
TOYOSHIKI TinyBASIC -> [ESC]
(3)SYSTEM command
SYSTEM return to CP/M.
(4)Other some beyond my expectations.
(C)2015 Tetsuya Suzuki
2021 ported by Meister
GNU General Public License