# Command reference T - Z

T
T <SPRITE> | SPRITE(T,spriteno)
TAB <OPTION> | OPTION TAB 2 | 3 | 4 | 8
TAB | TAB( number )
TAN | TAN( radians )
TANH <MATH> | MATH(TANH a)
TEMPR START | TEMPR START pin [, precision]
TEMPR | TEMPR( pin )
TEST LCDPANEL <GUI> | GUI TEST LCDPANEL | TOUCH
TEST TOUCH <GUI> | GUI TEST LCDPANEL | TOUCH
TEXT | TEXT x, y, string$ [,alignment$] [, font] [, scale] [, colour] [, bc]
TEXTBOX <GUI> | GUI TEXTBOX #ref, X, Y [, width, height, FC, BC]
THEN | IF expr THEN stmt [: stmt]
TIME <GPS> | GPS(TIME)
TIME$ | TIME$ = 'HH:MM:SS' | TIME$ = ?sec or string$ = TIME$
TIMER | TIMER = msec or value = TIMER
TO | FOR counter = start TO finish [STEP increment]
TONE <PLAY> | PLAY TONE left , right [, dur [, interrupt]]
TOUCH <OPTION> | OPTION TOUCH T_CS pin, T_IRQ pin [, click pin] | DISABLE
TOUCH REF | TOUCH( REF | LASTREF ) bool = TOUCH( DOWN | UP )
TOUCH LASTX | TOUCH( X | Y | LASTX | LASTY )
TOUCH LASTY | TOUCH( X | Y | LASTX | LASTY )
TOUCH X | TOUCH( X | Y )
TOUCH Y | TOUCH( X | Y )
TRACE | TRACE option
TRACE LIST | TRACE LIST nn
TRACE OFF | TRACE OFF
TRACE ON | TRACE ON
TRACK <GPS> | GPS(TRACK)
TRACK <MM.INFO$> | MM.INFO$( TRACK)
TRANSPARENCY <SPRITE> | SPRITE TRANSPARENCY [#]n, transparency
TRIANGLE | TRIANGLE X1, Y1, X2, Y2, X3, Y3 [, Colour [, FILL]]
TRIGGER <ADC> | ADC TRIGGER channel, level
TRIM <LONGSTRING> | LONGSTRING TRIM array%(), nbr
TTS <PLAY> | PLAY TTS [PHONETIC] 'text' [,speed] [,pitch] [,mouth] [,throat] [, interrupt]
TURN LEFT <TURTLE> | TURTLE TURN LEFT deg
TURN RIGHT <TURTLE> | TURTLE TURN RIGHT deg
TURTLE | TURTLE option
TURTLE BACKWARD | TURTLE BACKWARD n
TURTLE BEGIN FILL | TURTLE BEGIN FILL
TURTLE DOT | TURTLE DOT
TURTLE DRAW CIRCLE | TURTLE DRAW CIRCLE x, y, r
TURTLE DRAW LINE | TURTLE DRAW LINE x1, y1, x2, y2
TURTLE DRAW PIXEL | TURTLE DRAW PIXEL x, y
TURTLE DRAW TURTLE | TURTLE DRAW TURTLE
TURTLE END FILL | TURTLE END FILL
TURTLE FILL COLOUR | TURTLE FILL COLOUR col
TURTLE FILL PIXEL | TURTLE FILL PIXEL x, y
TURTLE FORWARD | TURTLE FORWARD n
TURTLE HEADING | TURTLE HEADING deg
TURTLE MOVE | TURTLE MOVE x, y
TURTLE PEN DOWN | TURTLE PEN DOWN
TURTLE PEN UP | TURTLE PEN UP
TURTLE RESET | TURTLE RESET
TURTLE TURN LEFT | TURTLE TURN LEFT deg
TURTLE TURN RIGHT | TURTLE TURN RIGHT deg
TUTTLE PEN COLOUR | TURTLE PEN COLOUR col
U
UCASE <LONGSTRING> | LONGSTRING UCASE array%()
UCASE$ | UCASE$( string$ )
UNTIL | LOOP UNTIL expression
UNTIL <LOOP> | LOOP [UNTIL expression]
UPDATE FIRMWARE | UPDATE FIRMWARE
USBKEYBOARD <OPTION> | OPTION USBKEYBOARD | UK | US | DE | FR | ES [,noLED]
V
V <SPRITE> | SPRITE(V,spriteno1,spriteno2)
V_CROSS <MATH> | MATH V_CROSS inV1(), inV2(), outV()
V_MULT <MATH> | MATH V_MULT matrix(), inV(), outV()
V_NORMALISE <MATH> | MATH V_NORMALISE inV(), outV()
V_PRINT <MATH> | MATH V_PRINT array()
VAL | VAL( string$ )
VALID <GPS> | GPS(VALID)
VAR | VAR option
VAR <PEEK> | PEEK(VAR var, ?offset)
VAR <POKE> | POKE VAR var, offset, byte
VAR CLEAR | VAR CLEAR
VAR RESTORE | VAR RESTORE
VAR SAVE | VAR SAVE var [, var] ?
VARADDR <PEEK> | PEEK(VARADDR var)
VARTBL <PEEK> | PEEK( VARTBL, ?offset)
VARTBL <POKE> | POKE VARTBL, offset, byte
VCC <OPTION> | OPTION VCC voltage
VERSION <MM.INFO> | MM.INFO( VERSION)
VOLUME <PLAY> | PLAY VOLUME left, right
VPOS <MM.INFO> | MM.INFO( VPOS)
W
W <SPRITE> | SPRITE(W, [#]n)
WARP_H <IMAGE> | IMAGE WARP_H x, y, w, h, x1, y1, h1, x2, y2, h2 [,readpage] [,dontcopyblack]
WARP_V <IMAGE> | IMAGE WARP_V x, y, w, h, x1, y1, w1, x2, y2, w2 [,readpage] [,dontcopyblack]
WATCHDOG | WATCHDOG timeout | OFF
WAV <PLAY> | PLAY WAV file$ [, interrupt]
WEND | WEND
WHILE | WHILE expression
WHILE <DO> | DO WHILE expression
WII | WII option
WII CLASSIC CLOSE | WII CLASSIC CLOSE [n]
WII CLASSIC OPEN | WII CLASSIC OPEN [n] [,interrupt [,bitmask] ]
WII MOUSE CLOSE | WII MOUSE CLOSE [n]
WII MOUSE OPEN | WII MOUSE OPEN [n] [,LEFTBUTTONint] [,RIGHTBUTTONint]
WII NUMCHUK OPEN | WII NUNCHUK OPEN [n] [,Zinterrupt [,Cinterrupt] ]
WII NUNCHUK CLOSE | WII NUNCHUK CLOSE [n]
WINDOW <FRAMEBUFFER> | FRAMEBUFFER WINDOW x, y, page [,I or B]
WORD <PEEK> | PEEK(WORD addr%)
WORD <POKE> | POKE WORD addr%, word%
WRITE <BLIT> | BLIT WRITE [#]b, x, y
WRITE <DRAW3D> | DRAW3D WRITE n, x, y, z [,nocull]
WRITE <FRAMEBUFFER> | FRAMEBUFFER WRITE
WRITE <I2C2> | I2C2 WRITE addr, option, sendlen, senddata [,sendata ...]
WRITE <I2C3> | I2C3 WRITE addr, option, sendlen, senddata [,sendata ...]
WRITE <I2C> | I2C WRITE addr, option, sendlen, senddata [,sendata ...]
WRITE <ONEWIRE> | ONEWIRE WRITE pin, flag, length, data [, data ...]
WRITE <PAGE> | PAGE WRITE n
WRITE <SPI2> | SPI2 WRITE nbr,[ data1, ... | String$ | array() ]
WRITE <SPI> | SPI WRITE nbr,[ data1, ... | String$ | array() ]
WRITE <SPRITE> | SPRITE WRITE [#]n, x y [,orientation]
WRITE PAGE <MM.INFO> | MM.INFO( WRITE PAGE)
WS2812 <BITBANG> | BITBANG WS2812 type, pin, colours%()
X
X <DRAW3D> | DRAW3D(x n)
X <SPRITE> | SPRITE(X, [#]n)
X <TOUCH> | TOUCH( X | Y )
XMAX <DRAW3D> | DRAW3D(xmax n)
XMIN <DRAW3D> | DRAW3D(xmin n)
XMODEM | XMODEM option
XMODEM RECEIVE | XMODEM RECEIVE [CRUNCH] file$
XMODEM SEND | XMODEM SEND file$
XOR | value XOR value
XOR_PIXELS <BOX> | BOX XOR_PIXELS x, y, w, h, colour [,pageno]
XOR_PIXELS <PAGE> | PAGE XOR_PIXELS sourcepage1, sourcepage2, destinationpage
Y
Y <DRAW3D> | DRAW3D(y n)
Y <SPRITE> | SPRITE(Y, [#]n)
Y <TOUCH> | TOUCH( X | Y )
Y_AXIS <OPTION> | OPTION Y_AXIS UP | DOWN
YMAX <DRAW3D> | DRAW3D(ymax n)
YMIN <DRAW3D> | DRAW3D(ymin n)
Z
Z <DRAW3D> | DRAW3D(z n)

Last edited: 21 November, 2020