" Assignment/Output and Input",,0
"LET !=",assign,110
"PRINT ",output,120
"PRINT USING "" !"": ","formated output",122
"INPUT ",,130
"INPUT PROMPT ""! "": ",,131
"LINE INPUT ",,132
"LINE INPUT PROMPT ""! "": ",,132
"CHARACTER INPUT ",,135
"DATA ",,140
"READ ",,140
"READ IF MISSING THEN EXIT DO: ",,141
"RESTORE ",,140
" Control",,170
"IF ! THEN ","Single line IF",180
"IF ! THEN ~ END IF","block IF",180
"IF ! THEN ~ ELSE ~ END IF",,180
"IF ! THEN ~ ELSEIF THEN ~ ELSE ~ END IF",,180
"ELSEIF ! THEN ",,180
"SELECT CASE ! ~ CASE  ~ CASE  ~ CASE ELSE ~ END SELECT",,190
"CASE ",,190
"FOR != TO  ~ NEXT ",,200
"FOR != TO STEP  ~ NEXT ",,200
"EXIT FOR",,200
"DO! ~ LOOP ",repetition,210
"EXIT DO",,210
"DO WHILE ! ~ LOOP ",,210
"DO UNTIL ! ~ LOOP ",,210
"DO! ~ LOOP WHILE",,210
"DO! ~ LOOP UNTIL",,210
RANDOMIZE,"produce a new seed for RND-function",440
STOP,,215
" Arrays and Matrix Operation",,150
"DIM !() ","declare an array",150
"DIM !( TO ) ","declare an array with lower bound and upper bound",150
"OPTION BASE 0",,150
"MAT !=","array asignment",160
"MAT !=ZER","assign zeros",160
"MAT !=IDN","identy matrix",160
"MAT !=INV( )","inverse matrix",160
"MAT !=TRN( )","transposed matrix",160
"MAT PRINT ","output an array",163
"MAT PRINT USING !: ","Output an array with formatting",123
"MAT INPUT ",,162
"MAT INPUT !(?)",,162
"MAT READ ",,161
" Procedures",,250
"DEF !()=","function def",240
"EXTERNAL FUNCTION !() ~ END FUNCTION",,255
"FUNCTION !() ~ END FUNCTION","internal function-def",250
"EXIT FUNCTION",,269
"EXTERNAL SUB !() ~ END SUB",,265
"SUB !() ~ END SUB","internal sub-program",260
"EXIT SUB",,269
"CALL !()",,260
"MODULE !() ~ END MODULE",module,280
" Graphics",,300
CLEAR,"claer graphics screen",301
"SET WINDOW !,,,","SET WINDOW left,right,bottom,top",310
"PLOT LINES: !, ;",,370
"PLOT POINTS: !,",,360
"PLOT AREA: !,;  ,; , ",,380
"PLOT TEXT,AT  !, : ",,390
"PLOT TEXT,AT  !, ,USING ""###"": ",,390
"MAT PLOT CELLS,IN  !, ; , :",,328
"SET LINE COLOR ","0:white, 1:black, 2:blue, 3:green, 4:red, ...",370
"SET POINT COLOR ","0:white, 1:black, 2:blue, 3:green, 4:red, ...",360
"SET AREA COLOR ","0:white, 1:black, 2:blue, 3:green, 4:red, ...",380
"SET TEXT COLOR ","0:white, 1:black, 2:blue, 3:green, 4:red, ...",390
"SET COLOR MIX(!) ,,"," SET COLOR MIX(color index) red,green,blue",350
"SET LINE STYLE ","1:solid, 2:dashed, 3:dotted,  4 dashed-dotted",370
"SET POINT STYLE "," 1 .   2 +    3 *   4 o   5 x",360
"SET TEXT JUSTIFY !,",,313
"ASK WINDOW !,,,","ASK WINDOW left,right,bottom,top",310
"ASK PIXEL VALUE (!,)","get color index",399
"ASK PIXEL ARRAY (!,)",,399
"ASK PIXEL SIZE (!,: ,) ,",,399
"EXTERNAL PICTURE !() ~ END PICTURE",,341
"PICTURE !() ~ END PICTURE","internal picture-def",342
"EXIT PICTURE",,269
"DRAW !()","invoke a picture-def",340
"DRAW !() WITH ","invoke a picture-def with transforming",340
"DRAW AXES",,349
"DRAW AXES(!,)",,349
"DRAW GRID",,349
"DRAW GRID(!,)",,349
"GET POINT: !,","graphics input",330
"MOUSE POLL !,,,","real-time mouse input",810
"SET BITMAP SIZE !,",,812
"GLOAD ""!""","load from a bitmap file",813
"GSAVE ""!""","save as a bitmap file",813
" Exception Handling",,220
"WHEN EXCEPTION IN! ~ USE  ~ END WHEN",,221
RETRY,,221
CONTINUE,,221
"CAUSE EXCEPTION ",,224
"HANDLER ! ~ END HANDLER",,222
"WHEN EXCEPTION USE ! ~ END WHEN",,222
" Files",,500
"OPEN #!: NAME """"",,510
"OPEN #!: NAME """" ,ACCESS OUTPUT","oepn for appending records",510
"OPEN #!: NAME """" ,ACCESS INPIT",,510
"CLOSE #",,550
"INPUT #!: ",,520
"LINE INPUT #!: ",,520
"INPUT #!,IF MISSING THEN EXIT DO: ",,520
"LINE INPUT #!,IF MISSING THEN EXIT DO: ",,520
"SET #!: POINTER BEGIN",,540
"SET #!: POINTER END",,540
"ERASE #",,530
"PRINT #!: ",,520
"OPEN #!: NAME """" ,RECTYPE INTERNAL",,804
"WRITE #!: ",,805
"READ #!: ",,805
" Declaration",,900
REM,REMark,166
"OPTION ANGLE DEGREES",,270
"OPTION ARITHMETIC NATIVE","binary floating point",271
"DECLARE EXTERNAL FUNCTION ",,255
" Real-Time",,0
"WAIT DELAY ",,800
" Debug",,230
"DEBUG ON","enable BREAK and TRACE",230
"DEBUG OFF","disable BREAK and TRACE",230
BREAK,,230
"TRACE ON",,230
"TRACE OFF",,230
