1 | const char *code_keywords[] = { |
2 | "APPEND" , "AS" , "BG" , "BYREF" , "CASE" , "CATCH" , "CHAIN" , "CLOSE" , |
3 | "COLOR" , "CONST" , "DATA" , "DECLARE" , "DEF" , "DELETE" , "DIM" , "ELIF" , |
4 | "ELSE" , "ELSEIF" , "END" , "END TRY" , "ENDIF" , "ERASE" , "EXEC" , "EXIT" , |
5 | "EXPORT" , "FI" , "FOR" , "FUNC" , "GOSUB" , "GOTO" , "IF" , "IMPORT" , |
6 | "INPUT" , "INSERT" , "LABEL" , "LET" , "LINE" , "LINEINPUT" , "LINPUT" , "LOCAL" , |
7 | "LOGPRINT" , "NEXT" , "ON" , "OPEN" , "OPTION" , "PRINT" , "READ" , "REDIM" , |
8 | "REM" , "REPEAT" , "RESTORE" , "RETURN" , "RUN" , "SEEK" , "SELECT" , "SINPUT" , |
9 | "SPRINT" , "STEP" , "STOP" , "SUB" , "THEN" , "TO" , "TROFF" , "TRON" , |
10 | "TRY" , "UNIT" , "UNTIL" , "USE" , "USG" , "USING" , "WEND" , "WHILE" , |
11 | "WRITE" }; |
12 | |
13 | const char *code_procedures[] = { |
14 | "ARC" , "AT" , "BEEP" , "BLOAD" , "BPUTC" , "BSAVE" , "CALL" , "CHART" , |
15 | "CHDIR" , "CHMOD" , "CIRCLE" , "CLS" , "COPY" , "DATEDMY" , "DEFINEKEY" , "DELAY" , |
16 | "DERIV" , "DIFFEQN" , "DIRWALK" , "DRAW" , "DRAWPOLY" , "ENV" , "EXPRSEQ" , "INTERSECT" , |
17 | "JOIN" , "KILL" , "LOCATE" , "LOCK" , "M3APPLY" , "M3IDENT" , "M3ROTATE" , "M3SCALE" , |
18 | "M3TRANS" , "MKDIR" , "NOSOUND" , "PAINT" , "PAUSE" , "PEN" , "PLAY" , "PLOT" , |
19 | "POLYEXT" , "PSET" , "RANDOMIZE" , "RECT" , "RENAME" , "RMDIR" , "ROOT" , "SEARCH" , |
20 | "SHOWPAGE" , "SORT" , "SOUND" , "SPLIT" , "STKDUMP" , "SWAP" , "THROW" , "TIMEHMS" , |
21 | "TIMER" , "TLOAD" , "TSAVE" , "VIEW" , "WINDOW" }; |
22 | |
23 | const char *code_functions[] = { |
24 | "ABS" , "ABSMAX" , "ABSMIN" , "ACCESS" , "ACOS" , "ACOSH" , "ACOT" , "ACOTH" , |
25 | "ACSC" , "ACSCH" , "ARRAY" , "ASC" , "ASEC" , "ASECH" , "ASIN" , "ASINH" , |
26 | "ATAN" , "ATAN2" , "ATANH" , "ATN" , "BCS" , "BGETC" , "BIN" , "CALL" , |
27 | "CAT" , "CBS" , "CDBL" , "CEIL" , "CHOP" , "CHR" , "CINT" , "COS" , |
28 | "COSH" , "COT" , "COTH" , "CREAL" , "CSC" , "CSCH" , "DATE" , "DATEFMT" , |
29 | "DEG" , "DETERM" , "DISCLOSE" , "EMPTY" , "ENCLOSE" , "ENV" , "EOF" , "EXIST" , |
30 | "EXP" , "FILES" , "FIX" , "FLOOR" , "FORM" , "FORMAT" , "FRAC" , "FRE" , |
31 | "FREEFILE" , "HEX" , "IF" , "IFF" , "IMAGE" , "INKEY" , "INPUT" , "INSTR" , |
32 | "INT" , "INVERSE" , "ISARRAY" , "ISDIR" , "ISFILE" , "ISLINK" , "ISMAP" , "ISNUMBER" , |
33 | "ISSTRING" , "JULIAN" , "LBOUND" , "LCASE" , "LEFT" , "LEFTOF" , "LEFTOFLAST" , "LEN" , |
34 | "LINEQN" , "LOF" , "LOG" , "LOG10" , "LOWER" , "LTRIM" , "MAX" , "MID" , |
35 | "MIN" , "OCT" , "PEN" , "POINT" , "POLYAREA" , "POLYCENT" , "POW" , "PROGLINE" , |
36 | "PTDISTLN" , "PTDISTSEG" , "PTSIGN" , "RAD" , "REPLACE" , "RGB" , "RGBF" , "RIGHT" , |
37 | "RIGHTOF" , "RIGHTOFLAST" , "RINSTR" , "RND" , "ROUND" , "RTRIM" , "RUN" , "RUN" , |
38 | "SEC" , "SECH" , "SEEK" , "SEGCOS" , "SEGLEN" , "SEGSIN" , "SEQ" , "SGN" , |
39 | "SIN" , "SINH" , "SPACE" , "SPC" , "SQR" , "SQUEEZE" , "STATMEAN" , "STATMEANDEV" , |
40 | "STATSPREADP" , "STATSPREADS" , "STR" , "STRING" , "SUM" , "SUMSQ" , "TAB" , "TAN" , |
41 | "TANH" , "TEXTHEIGHT" , "TEXTWIDTH" , "TICKS" , "TIME" , "TIMER" , "TIMESTAMP" , "TRANSLATE" , |
42 | "TRIM" , "TXTH" , "TXTW" , "UBOUND" , "UCASE" , "UPPER" , "VAL" , "WEEKDAY" , |
43 | "WINDOW" , "XPOS" , "YPOS" }; |
44 | |
45 | const int code_keywords_len = 73; |
46 | const int code_procedures_len = 61; |
47 | const int code_functions_len = 155; |
48 | |