# Command reference Q - S

Q
Q_CREATE <MATH> | MATH Q_CREATE theta, x, y, z, outRQ()
Q_EULER <MATH> | MATH Q_EULER yaw, pitch, roll, q()
Q_INVERT <MATH> | MATH Q_INVERT inQ(), outQ()
Q_MULT <MATH> | MATH Q_MULT inQ1(), inQ2(), outQ()
Q_ROTATE <MATH> | MATH Q_ROTATE RQ(), inVQ(), outVQ()
Q_VECTOR <MATH> | MATH Q_VECTOR x, y, z, outVQ()
R
RAD | RAD( degrees )
RADIO <GUI> | GUI RADIO #ref, caption$, X, Y [, radius, colour]
RAM <OPTION> | OPTION RAM
RANDOMIZE | RANDOMIZE nbr
RBOX | RBOX x, y, w, h [, r] [,colour] [,fill]
READ | READ variable[, variable]...
READ <BLIT> | BLIT READ [#]b, x, y, w, h [,pagenumber]
READ <I2C2> | I2C2 READ addr, option, rcvlen, rcvbuf
READ <I2C3> | I2C3 READ addr, option, rcvlen, rcvbuf
READ <I2C> | I2C READ addr, option, rcvlen, rcvbuf
READ <ONEWIRE> | ONEWIRE READ pin, flag, length, data [, data ...]
READ <SPI2> | SPI2 READ nbr, array()
READ <SPI> | SPI READ nbr, array()
READ <SPRITE> | SPRITE READ [#]n, x , y, w, h [,pagenumber]
RECEIVE <XMODEM> | XMODEM RECEIVE [CRUNCH] file$
REDRAW <GUI> | GUI REDRAW #ref1 [,#ref2, ...] | ALL
REF <TOUCH> | TOUCH( REF | LASTREF ) bool = TOUCH( DOWN | UP )
REM | REM text$
RENAME | RENAME old$ AS new$
REPLACE <LONGSTRING> | LONGSTRING REPLACE array%() , string$, start
RESET <DRAW3D> | DRAW3D RESET n [,n1 [,n2...]}
RESET <MAP> | MAP RESET
RESET <MM.INFO> | MM.INFO(RESET)
RESET <ONEWIRE> | ONEWIRE RESET pin
RESET <OPTION> | OPTION RESET
RESET <TURTLE> | TURTLE RESET
RESET LCDPANEL <GUI> | GUI RESET LCDPANEL
RESIZE <IMAGE> | IMAGE RESIZE x, y, width, height, new_x, new_y, new_width, new_height [,page_number]
RESIZE <LONGSTRING> | LONGSTRING RESIZE n
RESIZE <PAGE> | PAGE RESIZE pageno, width, height
RESIZE_FAST <IMAGE> | IMAGE RESIZE_FAST x, y, width, height, new_x, new_y, new_width, new_height [,page_number] [,flag]
RESTART <CPU> | CPU RESTART
RESTORE | RESTORE [line]
RESTORE <FRAMEBUFFER> | FRAMEBUFFER RESTORE [x, y, w, h]
RESTORE <SPRITE> | SPRITE RESTORE
RESTORE <VAR> | VAR RESTORE
RESUME <PLAY> | PLAY RESUME
RETURN | RETURN
RGB | RGB(red, green, blue [, trans])
RIGHT <LONGSTRING> | LONGSTRING RIGHT dest%(), src%(), nbr
RIGHT$ | RIGHT$( string$, number-of-chars)
RMDIR | RMDIR dir$
RND | RND( [ number ] )
ROTATE <DRAW3D> | DRAW3D ROTATE q(), n [,n1 [,n2...]}
ROTATE <IMAGE> | IMAGE ROTATE x, y, width, height, new_x, new_y, angle! [,page_number]
ROTATE_FAST <IMAGE> | IMAGE ROTATE_FAST x, y, width, height, new_x, new_y, angle! [,page_number] [,flag]
RTC | RTC parameter
RTC <OPTION> | OPTION RTC data, clock | DISABLE
RTC CALIBRATE <OPTION> | OPTION RTC CALIBRATE ?n
RTC GETREG | RTC GETREG reg, var
RTC GETTIME | RTC GETTIME
RTC SETREG | RTC SETREG reg, value
RTC SETTIME | RTC SETTIME year, month, day, hour, minute, second
RUN | RUN file$ [, cmdline]
S
S <SPRITE> | SPRITE(S)
SATELLITES <GPS> | GPS(SATELLITES)
SAVE | SAVE filename$
SAVE <LIBRARY> | LIBRARY SAVE
SAVE <OPTION> | OPTION SAVE
SAVE <VAR> | VAR SAVE var [, var] ?
SAVE DATA | SAVE DATA fname$, address%, size%
SAVE IMAGE | SAVE IMAGE file$ [,x, y, w, h]
SCALE <MATH> | MATH SCALE in(), scale ,out()
SCROLL <PAGE> | PAGE SCROLL pageno, x, y [,fillcolour]
SCROLL <SPRITE> | SPRITE SCROLL x, y [,col]
SCROLLR <SPRITE> | SPRITE SCROLLR x, y, w, h, delta_x, delta_y [,col]
SD <MATH> | MATH(SD a())
SD TIMING <OPTION> | OPTION SD TIMING NORMAL | FAST
SDCARD <MM.INFO$> | MM.INFO$( SDCARD)
SDCARD <OPTION> | OPTION SDCARD CS [, CD [,WP]] | DISABLE
SEARCH PATH <MM.INFO$> | MM.INFO$( SEARCH PATH)
SEARCH PATH <OPTION> | OPTION SEARCH PATH pathname$
SEEK | SEEK [#]fnbr, pos
SELECT | SELECT CASE value
SELECT <END> | END SELECT
SELECT CASE | SELECT CASE value
SEND <IR> | IR SEND pin, dev, key
SEND <XMODEM> | XMODEM SEND file$
SENSORFUSION <MATH> | MATH SENSORFUSION type ax, ay, az, gx, gy, gz, mx, my, mz, ?pitch, roll, yaw [,p1] [,p2]
SERIAL PULLUP <OPTION> | OPTION SERIAL PULLUP ENABLE | DISABLE
SERVO | SERVO channel, freq, chA [, chB [, chC ]] | SERVO channel, STOP
SET <MAP> | MAP SET
SET <MATH> | MATH SET nbr, array()
SET <MEMORY> | MEMORY SET address%, byte%, numberofbytes%
SET BYTE <MEMORY> | MEMORY SET BYTE address%, byte%, numberofbytes%
SET FLAGS <DRAW3D> | DRAW3D SET FLAGS
SET FLOAT <MEMORY> | MEMORY SET FLOAT address%, float!, numberoffloats%
SET INTEGER <MEMORY> | MEMORY SET INTEGER address%, integer%, numberofintegers%
SET SHORT <MEMORY> | MEMORY SET SHORT address%, short%, numberofshorts%
SET WORD <MEMORY> | MEMORY SET WORD address%, word%, numberofwords%
SETBYTE <LONGSTRING> | LONGSTRING SETBYTE data , n
SETPIN | SETPIN pin, cfg [, target] [, option]
SETREG <RTC> | RTC SETREG reg, value
SETTICK | SETTICK period, target [, nbr]
SETTICK FAST | SETTICK FAST frequency, interruptroutine
SETTIME <RTC> | RTC SETTIME year, month, day, hour, minute, second
SETUP <GUI> | GUI SETUP #n PAGE #n [,#n2, ...]
SGN | SGN( number )
SHORT <PEEK> | PEEK(SHORT addr%)
SHORT <POKE> | POKE SHORT addr%, short%
SHOW <DRAW3D> | DRAW3D SHOW n, x, y, z [,nocull]
SHOW <GUI> | GUI SHOW #ref1 [,#ref2, ...] | ALL
SHOW <SPRITE> | SPRITE SHOW [#]n, x,y, layer, [orientation]
SHOW SAFE <SPRITE> | SPRITE SHOW SAFE [#]n, x,y, layer [,orientation] [,ontop]
SIN | SIN( radians )
SINH <MATH> | MATH(SINH a)
SLEEP <CPU> | CPU SLEEP [ sec [, abortpin]]
SLEEP <OPTION> | OPTION SLEEP n
SLICE <MATH> | MATH SLICE sourcearray(), [d1] [,d2] [,d3] [,d4] [,d5] , destinationarray()
SORT | SORT array() [,indexarray] [,flags] [,startposition] [,elementstosort]
SOUND <MM.INFO$> | MM.INFO$( SOUND)
SOUND <PLAY> | PLAY SOUND soundno, channelno, type [,frequency] [,volume]
SPACE$ | SPACE$( number )
SPEED <GPS> | GPS(SPEED)
SPI CLOSE | SPI CLOSE
SPI OPEN | SPI OPEN speed, mode, bits
SPI READ | SPI READ nbr, array()
SPI WRITE | SPI WRITE nbr,[ data1, ... | String$ | array() ]
SPI | SPI( data )
SPI2 CLOSE | SPI2 CLOSE
SPI2 OPEN | SPI2 OPEN speed, mode, bits
SPI2 READ | SPI2 READ nbr, array()
SPI2 WRITE | SPI2 WRITE nbr,[ data1, ... | String$ | array() ]
SPI2 | SPI2( data )
SPINBOX <GUI> | GUI SPINBOX #ref, X, Y, w, h [, FC, BC, Step, Min, Max]
SPRITE | SPRITE parameter
SPRITE CLOSE | SPRITE CLOSE [#]n
SPRITE CLOSE ALL | SPRITE CLOSE ALL
SPRITE COPY | SPRITE COPY [#]n, [#]m, nbr
SPRITE HIDE | SPRITE HIDE [#]n
SPRITE HIDE ALL | SPRITE HIDE ALL
SPRITE HIDE SAFE | SPRITE HIDE SAFE [#]n
SPRITE INTERRUPT | SPRITE INTERRUPT sub
SPRITE LOAD | SPRITE LOAD fname$ [,start_sprite_number]
SPRITE LOADARRAY | SPRITE LOADARRAY [#]n, w, h, array%()
SPRITE LOADPNG | SPRITE LOADPNG [#]n, fname$ [, transparency_cut_off]
SPRITE MOVE | SPRITE MOVE
SPRITE NEXT | SPRITE NEXT [#]n, x, y
SPRITE NOINTERUPT | SPRITE NOINTERRUPT
SPRITE READ | SPRITE READ [#]n, x , y, w, h [,pagenumber]
SPRITE RESTORE | SPRITE RESTORE
SPRITE SCROLL | SPRITE SCROLL x, y [,col]
SPRITE SCROLLR | SPRITE SCROLLR x, y, w, h, delta_x, delta_y [,col]
SPRITE SHOW | SPRITE SHOW [#]n, x,y, layer, [orientation]
SPRITE SHOW SAFE | SPRITE SHOW SAFE [#]n, x,y, layer [,orientation] [,ontop]
SPRITE SWAP | SPRITE SWAP [#]n1, [#]n2 [,orientation]
SPRITE TRANSPARENCY | SPRITE TRANSPARENCY [#]n, transparency
SPRITE WRITE | SPRITE WRITE [#]n, x y [,orientation]
SPRITE C | SPRITE(C, [#]n [, m ])
SPRITE D | SPRITE(D, ,spriteno1, spriteno2)
SPRITE E | SPRITE(E,spriteno)
SPRITE H | SPRITE(H,[#]n)
SPRITE L | SPRITE(L, [#]n)
SPRITE N | SPRITE(N [,n ])
SPRITE S | SPRITE(S)
SPRITE T | SPRITE(T,spriteno)
SPRITE V | SPRITE(V,spriteno1,spriteno2)
SPRITE W | SPRITE(W, [#]n)
SPRITE X | SPRITE(X, [#]n)
SPRITE Y | SPRITE(Y, [#]n)
SQR | SQR( number )
START <#COMMENT> | #COMMENT START
START <ADC> | ADC START channel1array!() [,channel2array!()] [,channel3array!()]
START <DAC> | DAC START frequency, DAC1array%() [,DAC2array%()] [,interrupt]
START <TEMPR> | TEMPR START pin [, precision]
STATIC | STATIC variable [, variables]
STATIC FLOAT | STATIC FLOAT variable [, variables]
STATIC INTEGER | STATIC INTEGER variable [, variables]
STATIC STRING | STATIC STRING variable [, variables]
STATUS <OPTION> | OPTION STATUS ON | OFF
STEP | FOR counter = start TO finish [STEP increment]
STITCH <PAGE> | PAGE STITCH frompage1, from_page_2, topage, offset
STOP <DAC> | DAC STOP
STOP <PLAY> | PLAY STOP
STR$ | STR$( number [, m [, n [, c$ ]]] )
STR2BIN | STR2BIN(type, string$ [,BIG])
STRING <DIM> | DIM STRING decl [,decl]...
STRING <LOCAL> | LOCAL STRING variable [, variables]
STRING <STATIC> | STATIC STRING variable [, variables]
STRING$ | STRING$( nbr, ascii | string$ )
SUB | SUB xxx (arg1 [,arg2, ?])
SUB <END> | END SUB
SUB <EXIT> | EXIT SUB
SUM <MATH> | MATH(SUM a())
SWAP <SPRITE> | SPRITE SWAP [#]n1, [#]n2 [,orientation]
SWITCH <GUI> | GUI SWITCH #ref, caption$, X, Y [, width, height, FC, BC]

Last edited: 21 November, 2020