summaryrefslogtreecommitdiff
path: root/src/user/app/kbasic/kbasic.txt
blob: 19131ed482a968f71c5881075adc3c975ac8cec7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
KBASIC commands

EXEC "<filename.bas>"		fork and run file in a new process
LOAD "<filename.bas>"		reset interpreter context and load file, ends all execution
RUN							start loaded program at begining
END							end execution of program
LIST						list program text

GOTO <label>
IF <a> [=><] <b> THEN <expr>
GOSUB <label>
RETURN
FOR <var> = <a> to <b>
NEXT

PRINT
INPUT

RND