#COMMENT END
#COMMENT START
#DEFINE 'replacethis', 'withthis'
#INCLUDE file$
#MMDEBUG OFF
#MMDEBUG ON
PRINT @(x,[ y] [, m] ) expression
ABS( number )
ACOS( number )
ADC CLOSE
ADC FREQUENCY frequency
ADC OPEN frequency,channel1-pin [,channel2-pin] [,channel3-pin] [,interrupt]
ADC RUN array1%(),array2%()
ADC START channel1array!() [,channel2array!()] [,channel3array!()]
ADC TRIGGER channel, level
condition AND condition
ARC x, y, r1, [r2], rad1, rad2, colour
OPEN fname$ FOR mode AS [#]fnbr
OPEN comspec$ AS [#]fnbr
OPEN comspec$ AS GPS [,tz_offset] [,monitor]
ASC( string$ )
ASCII codes
ASIN( radians ) 
ATAN2( y, x )
ATN( radians )
AUTOSAVE file$ |  [CRUNCH]
BACKLIGHT percent
BASE$( base, number [, chars])
BAUDRATE( comm [, timeout] )
BEZIER xs, ys, xc1, yc1, xc2,yc2, xe, ye, colour
BIN$(n)
BIN2STR$(type, value [,BIG])
BITBANG BITSTREAM pinno, n_transitions, array%()
BITBANG HUMID pin, tvar, hvar [,DHT11]
BITBANG LCD line, pos, text$
BITBANG LCD CLEAR
BITBANG LCD CLOSE
BITBANG LCD CMD d1 [, d2 [, etc]]
BITBANG LCD DATA d1 [, d2 [, etc]]
BITBANG LCD INIT d4, d5, d6, d7, rs, en
BITBANG SERIALRX pinno,baudrate, istring$,timeout_in_ms, status% [,nbr][,terminators$]
BITBANG SERIALTX pinno,baudrate, ostring$
BITBANG WS2812 type, pin, colours%()
BLIT x1, y1, x2, y2, w, h [,page] [,orientation]
BLIT CLOSE [#]b
BLIT READ [#]b, x, y, w, h [,pagenumber]
BLIT WRITE [#]b, x, y
BOUND(array() [,dimension]
BOX x, y, w, h [, lw] [,c] [,fill]
BOX AND_PIXELS x, y, w, h, colour [,pageno]
BOX OR_PIXELS x, y, w, h, colour [,pageno]
BOX XOR_PIXELS x, y, w, h, colour [,pageno]
CALL usersubname$ [,usersubparameters,....]
CALL( userfnname$ [,userfnparameters,....]
CAMERA BACKUP
CAMERA CAPTURE
CAMERA CLOSE
CAMERA OPEN
CAMERA REGISTER register, value
CAMERA SAVE “filename”
CASE testexp [[, testexp] …]
CASE ELSE
CASE [IS] comparison
CAT string$1, string$2
CFUNCTION name( type [,type ... ] ) typereturn
CHDIR dir$
CHOICE(condition, ExpressionIfTrue, ExpressionIfFalse)
CHR$( number )
CINT( number )
CIRCLE x, y, r [, lw] [, a] [, colour] [, fill]
CLASSIC(funct, channel)
CLEAR
CLEAR VARS variable[,variable]
CLOSE [#]nbr [,[#]nbr] …
CLS [colour]
COLOR fore [, back]
COLOUR fore [, back]
CONST id = expression [, id = expression] ...
CONTINUE
CONTINUE DO
CONTINUE FOR
CONTROLLER option
CONTROLLER CLASSIC CLOSE [n]
CONTROLLER CLASSIC OPEN [n] [,interrupt [,bitmask] ]
CONTROLLER MOUSE CLOSE [n]
CONTROLLER MOUSE OPEN [n] [,LEFTBUTTONint] [,RIGHTBUTTONint]
CONTROLLER NUNCHUK OPEN [n] [,Zinterrupt [,Cinterrupt] ]
CONTROLLER NUNCHUK CLOSE [n]
COPY fname1$ TO fname2$
COPY A2B fname1$ TO fname2$
COPY B2A fname1$ TO fname2$
COS( radians ) 
CPU RESTART
CPU SLEEP [ sec [, abortpin]]
CSUB name [type [, type] …]
CTRLVAL(#ref) = value
CWD$
DAC n, voltage
DAC START frequency, DAC1array%() [,DAC2array%()] [,interrupt]
DAC STOP
DATA constant[,constant]...
DATE$ = 'DD-MM-YY' or 'DD/MM/YY' or string$ =  DATE$
DATETIME$(n)
DAY$(date$)
DAY$(NOW)
DEFINEFONT #n
DEG( radians )
DHT22 pin, tvar, hvar
DIM [type] decl [,decl]...
DIM FLOAT decl [,decl]...
DIM INTEGER  decl [,decl]...
DIM STRING decl [,decl]...
DIM STRING decl [,decl]… LENGTH n
DIR$( [fspec [, type ]] )
DISTANCE( trigger [, echo ] )
DO
DO WHILE expression
DRAW3D CAMERA n, z_viewplane[,x_camera [,y_camera] [,PAN_X] [,PAN_Y]
DRAW3D CLOSE n [,n1 [,n2...]]
DRAW3D CLOSE ALL
DRAW3D CREATE nv, nf, camera, vertices(), fc(), faces(), colours() , edge() ,fill()
DRAW3D DIAGNOSE objectno, x, y, z
DRAW3D HIDE n [,n1 [,n2...]]
DRAW3D HIDE ALL
DRAW3D RESET n [,n1 [,n2...]}
DRAW3D ROTATE q(), n [,n1 [,n2...]}
DRAW3D SET FLAGS
DRAW3D SHOW n, x, y, z [,nocull]
DRAW3D WRITE n, x, y, z [,nocull]
DRAW3D(x n)
DRAW3D(xmax n)
DRAW3D(xmin n)
DRAW3D(y n)
DRAW3D(ymax n)
DRAW3D(ymin n)
DRAW3D(z n)
DRIVE a: | b:
EDIT [file$]
ELSE
ELSEIF expression THEN
END
END CFUNCTION
END CSUB
END DEFINEFONT
END FUNCTION
END IF
END SELECT
END SUB
ENDIF
EOF( [#]nbr )
EPOCH(DATETIME$ | NOW)
ERASE variable [,variable]...
ERROR [error_msg$]
EVAL( string$ )
EXECUTE command$
EXIT [DO]
EXIT DO
EXIT FOR
EXIT FUNCTION
EXIT SUB
EXP( number )
FIELD$( string1, nbr, string2 [, string3] )
FILES
FIX( number )
FLASH
FLASH CHAIN
FLASH ERASE
FLASH ERASE ALL
FLASH LIST
FLASH LOAD
FLASH OVERWRITE
FLASH RUN
FLASH SAVE
FLUSH
FONT [#]font-number, scaling
FOR counter = start TO finish [STEP increment]
FORMAT$( nbr [, fmt$] )
FRAMEBUFFER option
FRAMEBUFFER BACKUP
FRAMEBUFFER BLIT from, to, x_from, y_from, x_to, y_to, width, height
FRAMEBUFFER CLOSE
FRAMEBUFFER COPY from, to
FRAMEBUFFER CREATE HorizontalSize%, VerticalSize%
FRAMEBUFFER LAYER
FRAMEBUFFER RESTORE [x, y, w, h]
FRAMEBUFFER WINDOW x, y, page [,I or B]
FRAMEBUFFER WRITE N | F | L
MATH FTT
FUNCTION xxx (arg1 [,arg2, ...]) [AS <type>]
GETSCANLINE
GOSUB target
GOTO target
GPS(option)
GPS(ALTITUDE)
GPS(DATE)
GPS(DOP)
GPS(FIX)
GPS(GEOID)
GPS(LATITUDE)
GPS(LONGITUDE)
GPS(SATELLITES)
GPS(SPEED)
GPS(TIME)
GPS(TRACK)
GPS(VALID)
GUI option
GUI TEXTBOX | NUMBERBOX | FORMATBOX CANCEL
GUI AREA #ref, X, Y [, width, height]
GUI BARGAUGE #ref,X,Y,W,H,F,B,m,m,c1,ta,c2,tb,c3,tc,c4
GUI BCOLOUR colour, #ref1 [, #ref2, ...]
GUI BEEP msec
GUI BITMAP x, y, data [, w] [, h] [, s] [, colour] [, bc]
GUI BUTTON #ref, caption$, X, Y [, w, h, FC, BC]
GUI CALIBRATE [, a1, a2, a3, a4, a5]
GUI CAPTION #ref, text$, X, Y [, just$, FC], BC]
GUI CHECKBOX #ref, caption$, X, Y [, size, colour]
GUI CURSOR x, y
GUI CURSOR COLOUR cursorcolour
GUI CURSOR HIDE
GUI CURSOR LOAD
GUI CURSOR OFF
GUI CURSOR ON [cursorno [, x, y [,cursorcolour] ] ]
GUI CURSOR SHOW
GUI DELETE #ref1 [,#ref2, ...] | ALL
GUI DISABLE #ref1 [,#ref2, ...] | ALL
GUI DISPLAYBOX #ref, X, Y [, width, height, FC, BC]
GUI ENABLE #ref1 [,#ref2, ...] | ALL
GUI FCOLOUR colour, #ref1 [, #ref2, ...]
GUI FORMATBOX #ref, format$, x, y [, w, h, fc, bc]
GUI FORMATBOX ACTIVATE #ref
GUI FORMATBOX CANCEL
GUI FRAME #ref, caption$, X, Y [, width, height, colour]
GUI GAUGE #ref,X,Y,R,F,B,m,m,d,u$,c1,ta,c2,tb,c3,tc,c4
GUI HIDE #ref1 [,#ref2, ...] | ALL
GUI INTERRUPT down [, up]
GUI LED #ref, caption$, X, Y [, radius, colour]
GUI NUMBERBOX #ref, X, Y [, width, height, FC, BC]
GUI NUMBERBOX ACTIVATE
GUI NUMBERBOX CANCEL
GUI PAGE #n [,#n2, #n3, etc]
GUI RADIO #ref, caption$, X, Y [, radius, colour]
GUI REDRAW #ref1 [,#ref2, ...] | ALL
GUI RESET LCDPANEL
GUI RESTORE #ref1 [,#ref2, #ref3, etc]
GUI RESTORE ALL
GUI SETUP #n PAGE #n [,#n2, ...]
GUI SHOW #ref1 [,#ref2, ...] | ALL
GUI SPINBOX #ref, X, Y, w, h [, FC, BC, Step, Min, Max]
GUI SWITCH #ref, caption$, X, Y [, width, height, FC, BC]
GUI TEST LCDPANEL | TOUCH
GUI TEXTBOX #ref, X, Y [, width, height, FC, BC]
GUI TEXTBOX ACTIVATE #ref
GUI TEXTBOX CANCEL
HELP [text]
HEX$( number [, chars])
HUMID pin, tvar, hvar [,DHT11]
I2C parameter
I2C CHECK addr
I2C CLOSE
I2C OPEN speed, timeout
I2C READ addr, option, rcvlen, rcvbuf
I2C SLAVE
I2C WRITE addr, option, sendlen, senddata [,sendata ...]
I2C2 parameter
I2C2 CHECK addr
I2C2 CLOSE
I2C2 OPEN speed, timeout
I2C2 READ addr, option, rcvlen, rcvbuf
I2C2 SLAVE
I2C2 WRITE addr, option, sendlen, senddata [,sendata ...]
I2C3 parameter
I2C3 CLOSE
I2C3 OPEN speed, timeout
I2C3 READ addr, option, rcvlen, rcvbuf
I2C3 WRITE addr, option, sendlen, senddata [,sendata ...]
IF expr THEN stmt [: stmt]
IMAGE option
IMAGE RESIZE x, y, width, height, new_x, new_y, new_width, new_height [,page_number]
IMAGE RESIZE_FAST x, y, width, height, new_x, new_y, new_width, new_height [,page_number] [,flag]
IMAGE ROTATE x, y, width, height, new_x, new_y, angle! [,page_number]
IMAGE ROTATE_FAST x, y, width, height, new_x, new_y, angle! [,page_number] [,flag]
IMAGE WARP_H x, y, w, h, x1, y1, h1, x2, y2, h2 [,readpage] [,dontcopyblack]
IMAGE WARP_V x, y, w, h, x1, y1, w1, x2, y2, w2 [,readpage] [,dontcopyblack]
INC var [,increment]
INKEY$
INPUT ['prompt$';] var1 [,var2 [, var3 ...]] or INPUT #nbr, list of variables
INPUT$(nbr, [#]fnbr)
INSTR( [start-position,] stringsearched$, string-pattern$ )
INT( number )
INTERRUPT [myint]
INV
IR dev, key , int
IR CLOSE
IR SEND pin, dev, key
IRETURN
JSON$(array%(),string$)
KEYDOWN(n)
KEYPAD var, int, r1, r2, r3, r4, c1, c2, c3 [, c4]
KEYPAD CLOSE
KILL file$
LCASE$( string$ )
LCD line, pos, text$
LCD CLEAR
LCD CLOSE
LCD CMD d1 [, d2 [, etc]]
LCD DATA d1 [, d2 [, etc]]
LCD INIT d4, d5, d6, d7, rs, en
LCOMPARE(array1%(), array2%())
LEFT$( string$, nbr )
LEN( string$ )
LET variable = expression
LGETBYTE(array%(), n)
LGETSTR$(array%(), start, length)
LIBRARY option
LIBRARY CHECK
LIBRARY DELETE
LIBRARY LIST
LIBRARY LIST ALL
LIBRARY SAVE
LINE x1, y1, x2, y2 [, LW [, C]]
LINE INPUT [prompt$,] string-variable$
LINSTR(array%(), search$ [,start])
LIST [file$]
LIST ALL [file$]
LIST COMMANDS
LIST FILES [fspec$] [, sort]
LIST FUNCTIONS
LIST PAGES
LIST PROFILE [CSV]
LLEN(array%())
LOAD fname$  [,R] 
LOAD BMP file$ [, x, y]
LOAD DATA fname$, address% 
LOAD FONT file$
LOAD GIF [file$ [, x, y]]
LOAD IMAGE file$ [, x, y]
LOAD JPG file$ [, x, y]
LOAD NVM string$
LOAD PNG file$ [, x, y] [, transparency_cut_off]
LOC( [#]fnbr )
LOCAL variable [, variables]
LOCAL FLOAT variable [, variables]
LOCAL INTEGER variable [, variables]
LOCAL STRING variable [, variables]
LOF( [#]fnbr )
LOG( number )
LONGSTRING option
LONGSTRING APPEND array%(), string$
LONGSTRING CLEAR array%()
LONGSTRING CONCAT dest%(), src%()
LONGSTRING COPY dest%(), src%()
LONGSTRING LCASE array%()
LONGSTRING LEFT dest%(), src%(), nbr
LONGSTRING LOAD array%(), nbr, string$
LONGSTRING MID dest%(), src%(), start, nbr
LONGSTRING PRINT [#n,] src%()
LONGSTRING REPLACE array%() , string$, start
LONGSTRING RESIZE n
LONGSTRING RIGHT dest%(), src%(), nbr
LONGSTRING SETBYTE data , n
LONGSTRING TRIM array%(), nbr
LONGSTRING UCASE array%()
LOOP [UNTIL expression]
LS
MAP MAXIMITE
MAP RESET
MAP SET
MAP( n ) = rgb%
MATH option
MATH ADD in(), num, out()
MATH FFT signalarray!(), FFTarray!()
MATH FFT INVERSE FFTarray!(), signalarray!()
MATH FFT MAGNITUDE signalarray!(),magnitudearray!()
MATH FFT PHASE signalarray!(), phasearray!()
MATH INSERT targetarray(), [d1] [,d2] [,d3] [,d4] [,d5] , sourcearray()
MATH INTERPOLATE in1(), in2(), ratio, out()
MATH M_INVERSE array!(), inversearray!()
MATH M_MULT in1(), in2(), out()
MATH M_PRINT array()
MATH M_TRANSPOSE in(), out()
MATH Q_CREATE theta, x, y, z, outRQ()
MATH Q_EULER yaw, pitch, roll, q()
MATH Q_INVERT inQ(), outQ()
MATH Q_MULT inQ1(), inQ2(), outQ()
MATH Q_ROTATE RQ(), inVQ(), outVQ()
MATH Q_VECTOR x, y, z, outVQ()
MATH SCALE in(), scale ,out()
MATH SENSORFUSION type ax, ay, az, gx, gy, gz, mx, my, mz,  pitch, roll, yaw [,p1] [,p2]
MATH SET nbr, array()
MATH SLICE sourcearray(), [d1] [,d2] [,d3] [,d4] [,d5] , destinationarray()
MATH V_CROSS inV1(), inV2(), outV()
MATH V_MULT matrix(), inV(), outV()
MATH V_NORMALISE inV(), outV()
MATH V_PRINT array()
MATH WINDOW 
MATH(ATAN3 x,y)
MATH(CHI a())
MATH(CHI_p a())
MATH(COSH a)
MATH(CRCn array(), length,[polynome,] [startmask,][endmask,] [reverseIn,][reverseOut]
MATH(DOTPRODUCT v1(), v2()
MATH(LOG10 a)
MATH(M_DETERMINANT array!())
MATH(MAGNITUDE v())
MATH(MAX a())
MATH(MEAN a())
MATH(MEDIAN a())
MATH(MIN a())
MATH(SD a())
MATH(SINH a)
MATH(SUM a())
MATH(TANH a)
MAX( arg1 [, arg2 [, …]] )
MEMORY
MEMORY COPY sourceaddress%, destinationaddres%, numberofbytes%
MEMORY COPY FLOAT sourceaddress%, destinationaddres%, numberoffloats%
MEMORY COPY INTEGER sourceaddress%, destinationaddres%, numberofintegers%
MEMORY PACK
MEMORY SET address%, byte%, numberofbytes%
MEMORY SET BYTE address%, byte%, numberofbytes%
MEMORY SET FLOAT address%, float!, numberoffloats%
MEMORY SET INTEGER address%, integer%, numberofintegers%
MEMORY SET SHORT address%, short%, numberofshorts%
MEMORY SET WORD address%, word%, numberofwords%
MEMORY UNPACK
MID$( str$, start [, num]) = str2$ or str2$ =  MID$( string$, start [, nbr]  )
MIN( arg1 [, arg2 [, …]] )
MKDIR dir$
MM.CMDLINE$
MM.DEVICE$
MM.ERRMSG$
MM.ERRNO
MM.FONTHEIGHT 
MM.FONTWIDTH
MM.HPOS
MM.HRES
MM.I2C
MM.INFO$( option )
MM.INFO$(AUTORUN)
MM.INFO$(BCOLOUR)
MM.INFO$( CALLTABLE)
MM.INFO$( CPUSPEED)
MM.INFO$( CURRENT)
MM.INFO$(DEVICE)
MM.INFO$(DIRECTORY)
MM.INFO$(ERRMSG)
MM.INFO$(FCOLOUR)
MM.INFO$(FONT ADDRESS n)
MM.INFO$(FONT POINTER n)
MM.INFO$(FONTHEIGHT)
MM.INFO$(FONTWIDTH)
MM.INFO$(HEIGHT)
MM.INFO$(HPOS)
MM.INFO$( KEYBOARD)
MM.INFO$(LCDPANEL)
MM.INFO$(LINE)
MM.INFO$(MODIFIED file$)
MM.INFO$( OPTION ANGLE
MM.INFO$( OPTION AUTORUN)
MM.INFO$( OPTION BASE
MM.INFO$( OPTION BREAK
MM.INFO$( OPTION DEFAULT
MM.INFO$( OPTION EXPLICIT
MM.INFO$( OPTION FLASH_CS
MM.INFO$( OPTION TOUCH_IRQ
MM.INFO$(PIN pinno)
MM.INFO$(PINNO P[A-E]n)
Rpi pico pin designation
MM.INFO$( SDCARD)
MM.INFO$( SEARCH PATH)
MM.INFO$( SOUND)
MM.INFO$(TOUCH)
MM.INFO$( TRACK)
MM.INFO$(WIDTH)
MM.INFO( option )
MM.INFO(ADC)
MM.INFO(ADC DMA)
MM.INFO (CONSOLE)
MM.INFO( CPUREVID)
MM.INFO( DISK SIZE)
MM.INFO(ERRNO)
MM.INFO(EXISTS DIR dir$)
MM.INFO(FILESIZE file$)
MM.INFO( FONTHEIGHT)
MM.INFO( FONTWIDTH)
MM.INFO( FRAMEH)
MM.INFO( FRAMEV)
MM.INFO( FREE SPACE)
MM.INFO( HPOS)
MM.INFO( MAX PAGES)
MM.INFO( MODE)
MM.INFO(NBRPINS)
MM.INFO(ONEWIRE)
MM.INFO(OPTION option)
MM.INFO( OPTION AUTORUN
MM.INFO( OPTION BASE
MM.INFO( OPTION BREAK
MM.INFO( OPTION DEFAULT
MM.INFO( OPTION EXPLICIT
MM.INFO( OPTION KEYBOARD
MM.INFO( OPTION ANGLE
MM.INFO( OPTION HEIGHT
MM.INFO( OPTION WIDTH
MM.INFO( OPTION FLASH SIZE
MM.INFO(PAGE ADDRESS n)
MM.INFO( PROGRAM)
MM.INFO(RESET)
MM.INFO(RESTART)
MM.INFO(VARCNT)
MM.INFO( VERSION)
MM.INFO(VPOS)
MM.INFO( WRITE PAGE)
MM.ONEWIRE
MM.VER 
MM.VPOS
MM.VRES
MM.WATCHDOG
MMDEBUG
value MOD value
MODE r, bits [, bg [, int]]
MOUSE( function [,i2channel])
MOVEMENT(sensitivity)
MSGBOX(msg$, b1$ [,b2$ [, b3$ [, b4$]]])
NAME old$ AS new$ 
NEW
NEXT [counter-variable] [, counter-variable], etc
NOT expression
NUNCHUK(funct, channel)
OCT$( number [, chars])
ON nbr GOTO | GOSUB target1 [, target2, ...]
ON ERROR ABORT
ON ERROR CLEAR
ON ERROR IGNORE
ON ERROR SKIP [nn]
ON KEY [ASCIIcode,] interrupt_routine
ON PS2 target
ONEWIRE READ pin, flag, length, data [, data ...]
ONEWIRE RESET pin
ONEWIRE WRITE pin, flag, length, data [, data ...]
OPTION parameter
OPTION ANGLE mode
OPTION ANGLE DEGREES
OPTION ANGLE RADIANS
OPTION AUDIO VS1053 SPICLKpin, SPIMOSIpin, SPIMISOpin, CSpin, DCSpin, DREQpin, RESETpin
OPTION AUTOREFRESH ON | OFF
OPTION AUTORUN OFF | ON
OPTION BASE 0 | 1
OPTION BASELINE ON | OFF
OPTION BAUDRATE nbr
OPTION BREAK nn
OPTION CASE UPPER | LOWER | TITLE
OPTION CLOCKTRIM ±n
OPTION COLOURCODE ON | OFF | REVERSE
OPTION COLOURCODE OFF
OPTION COLOURCODE ON
OPTION CONSOLE SCREEN | SERIAL | BOTH or OPTION CONSOLE SAVE
OPTION CONSOLE AUTO
OPTION CONSOLE ECHO | NOECHO
OPTION CONSOLE INVERT | NOINVERT
OPTION CONSOLE PORT n
OPTION CONTROLS nn
OPTION CRLF CR | LF | CRLF
OPTION DEFAULT FLOAT | INTEGER | STRING | NONE
OPTION DEFAULT MODE n
OPTION DISPLAY lines [,chars]
OPTION DS3231 ON | OFF
OPTION EDIT FONT SMALL | NORMAL | MEDIUM | LARGE
OPTION ESCAPE
OPTION EXPLICIT
OPTION F11 string$
OPTION F12 string$
OPTION FLASH [n]
OPTION FLASH_CS
OPTION FLASHPAGES n
OPTION GUI CONTROLS nn
OPTION HEARTBEAT on | off
OPTION KEYBOARD US | UK | FR | GR | BE | IT | ES
OPTION KEYBOARD REPEAT firstchar, nextchar
OPTION LCDPANEL options
OPTION LCDPANEL CONSOLE options
OPTION LCDPANEL NOCONSOLE
OPTION LEGACY ON | OFF
OPTION LIST
OPTION MILLISECONDS ON | OFF
OPTION MOUSE channel [,sensitivity]
OPTION OVERCLOCK ON | OFF
OPTION PIN nbr
OPTION PROFILING ON | OFF
OPTION RAM
OPTION RESET
OPTION RTC data, clock | DISABLE
OPTION RTC CALIBRATE ±n
OPTION SAVE
OPTION SD TIMING NORMAL | FAST
OPTION SDCARD CS [, CD [,WP]] | DISABLE
OPTION SEARCH PATH pathname$
OPTION SERIAL CONSOLE ON | OFF
OPTION SERIAL PULLUP ENABLE | DISABLE
OPTION SLEEP n
OPTION STATUS ON | OFF
OPTION SYSTEM I2C sdapin, sclpin
OPTION SYSTEM SPI CLKpin, MOSIpin, MISOpin
OPTION TAB 2 | 3 | 4 | 8
OPTION TOUCH T_CS pin, T_IRQ pin [, click pin] | DISABLE
OPTION USBKEYBOARD | UK | US | DE | FR | ES [,noLED]
OPTION VCC voltage
OPTION Y_AXIS UP | DOWN
value OR value
PAGE options
PAGE AND_PIXELS sourcepage1, sourcepage2, destinationpage
PAGE COPY n TO m [,when]
PAGE DISPLAY n [,page]
PAGE LIST
PAGE OR_PIXELS sourcepage1, sourcepage2, destinationpage
PAGE RESIZE pageno, width, height
PAGE SCROLL pageno, x, y [,fillcolour]
PAGE STITCH frompage1, from_page_2, topage, offset
PAGE WRITE n
PAGE XOR_PIXELS sourcepage1, sourcepage2, destinationpage
PAUSE delay mS
PEEK(parameter)
PEEK(BYTE addr%)
PEEK(CFUNADDR cfun)
PEEK(FLOAT addr%
PEEK(INTEGER addr%)
PEEK( OPTION, offset)
PEEK( PROGMEM, ±offset)
PEEK(SHORT addr%)
PEEK(VAR var, ±offset)
PEEK(VARADDR var)
PEEK( VARTBL, ±offset)
PEEK(WORD addr%)
PI
PIN( pin | function$)
PIN( pin ) = value
cputemp = PIN(TEMP ) 
PIO CLEAR pio
PIO DMA RX
PIO DMA RX OFF
PIO DMA TX
PIO DMA TX OFF
PIO EXECUTE pio,state_machine, instruction%
PIO INIT MACHINE pio%,statemachine%, clockspeed[,pinctrl] [,execctrl] [,shiftctrl][,startinstruction]
PIO INTERRUPT
PIO MAKE RING BUFFER
PIO PROGRAM LINE pio, line,instruction
PIO READ pio, state_machine,count, data%[()]
PIO START pio, statemachine
PIO STOP pio, statemachine
PIO WRITE pio, state_machine,count, data0 [,data1..]

PIXEL x, y [,colour]
PIXEL FAST x, y [,colour]
PIXEL FILL x, y, newcolour
PIXEL( x, y [,page_number])
PLAY parameter
PLAY EFFECT file$ [,interrupt]
PLAY FLAC file$ [, interrupt] | dirname$
PLAY MIDI CMD cmd%, data1% [,data2%]
PLAY MIDIFILE fname$ [,interrupt]
PLAY MODFILE file$ [,samplerate]
PLAY MODSAMPLE sampleno, channelno [,volume] [,samplerate]
PLAY MP3 file$ [, interrupt]  | dirname$
PLAY NEXT
PLAY NOTE OFF channel, note [,velocity]
PLAY NOTE ON channel, note, velocity
PLAY PAUSE
PLAY PREVIOUS
PLAY RESUME
PLAY SOUND soundno, channelno, type [,frequency] [,volume]
PLAY STOP
PLAY STREAM buffer%(), readpointer%, writepointer%
PLAY TONE left , right [, dur [, interrupt]]
PLAY TTS [PHONETIC] 'text' [,speed] [,pitch] [,mouth] [,throat] [, interrupt]
PLAY VOLUME left, right
PLAY VS1053 XCSpin, XDCSpin, DREQpin, XRSTpin[ , fname$ [,interrupt]]
PLAY WAV file$ [, interrupt]  | dirname$
PLAY MIDI TEST n (n=0 to 3)
POKE parameter
POKE BYTE addr%, byte
POKE DISPLAY command [,data1] [,data2] [,datan]
POKE DISPLAY HRES n
POKE DISPLAY VRES n
POKE FLOAT addr%, float!
POKE INTEGER addr%, int%
POKE SHORT addr%, short%
POKE VAR var, offset, byte
POKE VARTBL, offset, byte
POKE WORD addr%, word%
POLYGON n[()], xarray%(), yarray%() [, bordercolour[()]] [, fillcolour[()]]
PORT(start, nbr [,start, nbr] ...) = value or value = PORT(start, nbr [,start, nbr]…)
POS
PRINT expression [[,; ]expression] ... | PRINT #nbr, expression [[,; ]expression] …
PRINT #GPS, string$
PRINT @(x, y [, m] ) expression
PULSE pin, width
pulsewidth = PULSIN( pin, polarity [, t1 [, t2]])
PWM channel, freq, chA [, chB [, chC ]] | PWM channel, STOP
RAD( degrees )
RANDOMIZE nbr
RBOX x, y, w, h [, r] [,colour] [,fill]
READ variable[, variable]...
READ RESTORE
READ SAVE
REFRESH
REM text$
RENAME old$ AS new$
RESTORE [line]
RETURN
RGB(red, green, blue [, trans])
defined colour
RIGHT$( string$, number-of-chars)
RMDIR dir$
RND( [ number ] )
RTC parameter
RTC GETREG reg, var
RTC GETTIME
RTC SETREG reg, value
RTC SETTIME year, month, day, hour, minute, second
RUN file$ [, cmdline]
SAVE filename$
SAVE DATA fname$, address%, size%
SAVE IMAGE file$ [,x, y, w, h]
SAVE NVM string$
SEEK [#]fnbr, pos
SELECT CASE value
SERVO channel, freq, chA [, chB [, chC ]] | SERVO channel, STOP
SETPIN pin, cfg [, target] [, option]
SETTICK period, target [, nbr]
SETTICK FAST frequency, interruptroutine
SETTICK PAUSE
SETTICK RESUME
SGN( number )
SIN( radians ) 
SORT array() [,indexarray] [,flags] [,startposition] [,elementstosort]
SPACE$( number )
SPI CLOSE
SPI OPEN speed, mode, bits
SPI READ nbr, array()
SPI WRITE nbr,[ data1, ... | String$ | array() ]
SPI( data )
SPI2 CLOSE
SPI2 OPEN speed, mode, bits
SPI2 READ nbr, array()
SPI2 WRITE nbr,[ data1, ... | String$ | array() ]
SPI2( data )
SPI3 CLOSE
SPI3 OPEN speed, mode, bits
SPI3 READ nbr, array()
SPI3 WRITE nbr,[ data1, ... | String$ | array() ]
SPI3( data )
SPRITE parameter
SPRITE CLOSE [#]n
SPRITE CLOSE ALL
SPRITE COPY [#]n, [#]m, nbr
SPRITE HIDE [#]n
SPRITE HIDE ALL
SPRITE HIDE SAFE [#]n
SPRITE INTERRUPT sub
SPRITE LOAD fname$ [,start_sprite_number]
SPRITE LOADARRAY [#]n, w, h, array%()
SPRITE LOADPNG [#]n, fname$ [, transparency_cut_off]
SPRITE MOVE
SPRITE NEXT [#]n, x, y
SPRITE NOINTERRUPT
SPRITE READ [#]n, x , y, w, h [,pagenumber]
SPRITE RESTORE
SPRITE SCROLL x, y [,col]
SPRITE SCROLLH n [,col]
SPRITE SCROLLR x, y, w, h, delta_x, delta_y [,col]
SPRITE SCROLLV n [,col]
SPRITE SHOW [#]n, x,y, layer, [orientation]
SPRITE SHOW SAFE [#]n, x,y, layer [,orientation] [,ontop]
SPRITE SWAP [#]n1, [#]n2 [,orientation]
SPRITE TRANSPARENCY [#]n, transparency
SPRITE WRITE [#]n, x y [,orientation]
SPRITE(C, [#]n [, m ])
SPRITE(D, ,spriteno1, spriteno2)
SPRITE(E,spriteno)
SPRITE(H,[#]n)
SPRITE(L, [#]n)
SPRITE(N [,n ])
SPRITE(S)
SPRITE(T,spriteno)
SPRITE(V,spriteno1,spriteno2)
SPRITE(W, [#]n)
SPRITE(X, [#]n)
SPRITE(Y, [#]n)
SQR( number )
STATIC variable [, variables]
STATIC FLOAT variable [, variables]
STATIC INTEGER variable [, variables]
STATIC STRING variable [, variables]
STR$( number [, m [, n [, c$ ]]]  )
STR2BIN(type, string$ [,BIG])
STRING$( nbr, ascii | string$ )
SUB xxx (arg1 [,arg2, …])
SYNC [period] [,units]
TAB( number )
TAN( radians ) 
TEMPR START pin [, precision]
TEMPR( pin )
TEXT x, y, string$ [,alignment$] [, font] [, scale] [, colour] [, bc]
TILE x, y [,foreground][,background] [,nbr_tiles_wide][,nbr_tiles_high]
TIME$ = 'HH:MM:SS'  | TIME$ = ±sec or string$ = TIME$
TIMER = msec or value = TIMER
TOUCH( X | Y | LASTX | LASTY )
TOUCH( REF | LASTREF ) bool = TOUCH( DOWN | UP )
TOUCH( X | Y )
TRACE option
TRACE LIST nn
TRACE OFF
TRACE ON
TRIANGLE X1, Y1, X2, Y2, X3, Y3 [, Colour [, FILL]]
TURTLE option
TURTLE BACKWARD n
TURTLE BEGIN FILL
TURTLE DOT
TURTLE DRAW CIRCLE x, y, r
TURTLE DRAW LINE x1, y1, x2, y2
TURTLE DRAW PIXEL x, y
TURTLE DRAW TURTLE
TURTLE END FILL
TURTLE FILL COLOUR col
TURTLE FILL PIXEL x, y
TURTLE FORWARD n
TURTLE HEADING deg
TURTLE MOVE x, y
TURTLE PEN DOWN
TURTLE PEN UP
TURTLE RESET
TURTLE TURN LEFT deg
TURTLE TURN RIGHT deg
TURTLE PEN COLOUR col
UCASE$( string$ )
LOOP UNTIL expression
UPDATE FIRMWARE
VAL( string$ )
VAR option
VAR CLEAR
VAR FCLEAR
VAR FRESTORE
VAR FSAVE var [, var] …
VAR RESTORE
VAR SAVE var [, var] …
WATCHDOG timeout | OFF
WATCHDOG HW timeout | OFF
WATCHDOG OFF
WEB CLOSE TCP CLIENT
WEB CLOSE TLS CLIENT
WEB MQTT CLOSE
WEB MQTT CONNECT addr$, port, user$, passwd$ [, interrupt]
WEB MQTT PUBLISH topic$, msg$, [,qos] [,retain]
WEB MQTT SUBSCRIBE topic$ [,qos]
WEB MQTT UNSUBSCRIBE topic$
WEB NTP [timeoffset [, NTPserver$]] [,timeout]]]
WEB OPEN TCP CLIENT address$, port
WEB OPEN TCP STREAM address$, PORTno
WEB OPEN TLS CLIENT address$, port
WEB SCAN [array%()]
WEB TCP CLIENT REQUEST request$, buff%() [,timeout]
WEB TCP CLIENT STREAM command$, buffer%(), readpointer%, writepointer%
WEB TCP INTERRUPT InterruptSub
WEB TCP READ cb%, buff%()
WEB TLS CLIENT REQUEST request$, buff%() [,timeout]
WEB TRANSMIT CODE cb%, nnn%
WEB TRANSMIT FILE cb%, filename$, content-type$
WEB TRANSMIT PAGE cb%, filename$
WEND
WHILE expression
WII option
WII CLASSIC CLOSE [n]
WII CLASSIC OPEN [n] [,interrupt [,bitmask] ]
WII MOUSE CLOSE [n]
WII MOUSE OPEN [n] [,LEFTBUTTONint] [,RIGHTBUTTONint]
WII NUNCHUK OPEN [n] [,Zinterrupt [,Cinterrupt] ]
WII NUNCHUK CLOSE [n]
XMODEM option
XMODEM CEUNCH file$
XMODEM RECEIVE [CRUNCH] file$
XMODEM SEND file$
value XOR value
WEB TCP SEND cb%, data%()
WEB TCP CLOSE cb%
OPTION UDP SERVER PORT n
WEB UDP INTERRUPT intname
WEB UDP SEND addr$, port, data$
OPTION WIFI SSID$, PASSWD$, [NAME$] [,IPADDRESS$, MASK$, GATEWAY$]
INSTR([start],text$, search$ [,size])
LIINSTR(text%(),search$ [,start] [,size]
OPTION MODBUFF ENABLE/DISABLE [sizeinK]
PLAY MODFILE fname$
PLAY MODSAMPLE sampleno, channelno [,volume]
WATCHDOG HW OFF
WATCHDOG HW nmSec
BITBANG WS2812 W, pin, nbr, value%[()]
OPTION WEB MESSAGES ON | OFF
BLIT WRITE [#]b, x, y [,mode]
MATH WINDOW in(),min, max,out()
BLIT MEMORY address%, x, y[,col]
BLIT COMPRESSED address%, x, y[,col]
MM.INFO(FLASH ADDRESS n)
LIBRARY DISK SAVE fname$
LIBRARY DISK LOAD fname$
FLASH DISK LOAD n, fname$ [,O[VERWRITE]]
FRAMEBUFFER COPY from, to [,B]
OPTION PICO ON/OFF
PLAY MODFILE fname$ [,int]
OPTION AUTORUN n/ON [,NORESET]
FRAMEBUFFER MERGE
BACKLIGHT level [,DEFAULT]
BITBANG CAMERA command
PEEK(CFUNADDR ..)
BITBANG CAMERA OPEN XLKpin, PLKpin, HSpin, VSCpin, RETpin, D0pin
BITBANG CAMERA CLOSE
BITBANG CAMERA CHANGE image%(),change! [,scale [,x ,y]]
BITBANG CAMERA TEST tnum
BITBANG CAMERA REGISTER reg%, data%
OPTION TCP SERVER PORT n
OPTION TELNET CONSOLE  ON | OFF | ONLY