# Command reference L - M

L
L <SPRITE> | SPRITE(L, [#]n)
LASTX <TOUCH> | TOUCH( X | Y | LASTX | LASTY )
LASTY <TOUCH> | TOUCH( X | Y | LASTX | LASTY )
LATITUDE <GPS> | GPS(LATITUDE)
LCASE <LONGSTRING> | LONGSTRING LCASE array%()
LCASE$ | LCASE$( string$ )
LCD | LCD line, pos, text$
LCD CLEAR | LCD CLEAR
LCD CLOSE | LCD CLOSE
LCD CMD | LCD CMD d1 [, d2 [, etc]]
LCD DATA | LCD DATA d1 [, d2 [, etc]]
LCD INIT | LCD INIT d4, d5, d6, d7, rs, en
LCDPANEL <OPTION> | OPTION LCDPANEL options
LCOMPARE | LCOMPARE(array1%(), array2%())
LED <GUI> | GUI LED #ref, caption$, X, Y [, radius, colour]
LEFT <LONGSTRING> | LONGSTRING LEFT dest%(), src%(), nbr
LEFT$ | LEFT$( string$, nbr )
LEGACY <OPTION> | OPTION LEGACY ON | OFF
LEN | LEN( string$ )
LET | LET variable = expression
LGETBYTE | LGETBYTE(array%(), n)
LGETSTR$ | LGETSTR$(array%(), start, length)
LIBRARY | LIBRARY option
LIBRARY DELETE | LIBRARY DELETE
LIBRARY LIST | LIBRARY LIST
LIBRARY SAVE | LIBRARY SAVE
LINE | LINE x1, y1, x2, y2 [, LW [, C]]
LINE INPUT | LINE INPUT [prompt$,] string-variable$
LINSTR | LINSTR(array%(), search$ [,start])
LIST | LIST [file$]
LIST <LIBRARY> | LIBRARY LIST
LIST <OPTION> | OPTION LIST
LIST <PAGE> | PAGE LIST
LIST <TRACE> | TRACE LIST nn
LIST ALL | LIST ALL [file$]
LIST COMMANDS | LIST COMMANDS
LIST FILES | LIST FILES [fspec$] [, sort]
LIST FUNCTIONS | LIST FUNCTIONS
LIST PAGES | LIST PAGES
LIST PROFILE | LIST PROFILE [CSV]
LLEN | LLEN(array%())
LOAD | LOAD fname$ [,R]
LOAD <LONGSTRING> | LONGSTRING LOAD array%(), nbr, string$
LOAD <SPRITE> | SPRITE LOAD fname$ [,start_sprite_number]
LOAD BMP | LOAD BMP file$ [, x, y]
LOAD DATA | LOAD DATA fname$, address%
LOAD FONT | LOAD FONT file$
LOAD GIF | LOAD GIF [file$ [, x, y]]
LOAD IMAGE | LOAD IMAGE file$ [, x, y]
LOAD JPG | LOAD JPG file$ [, x, y]
LOAD PNG | LOAD PNG file$ [, x, y] [, transparency_cut_off]
LOADARRAY <SPRITE> | SPRITE LOADARRAY [#]n, w, h, array%()
LOADPNG <SPRITE> | SPRITE LOADPNG [#]n, fname$ [, transparency_cut_off]
LOC | LOC( [#]fnbr )
LOCAL | LOCAL variable [, variables]
LOCAL FLOAT | LOCAL FLOAT variable [, variables]
LOCAL INTEGER | LOCAL INTEGER variable [, variables]
LOCAL STRING | LOCAL STRING variable [, variables]
LOF | LOF( [#]fnbr )
LOG | LOG( number )
LOG10 <MATH> | MATH(LOG10 a)
LONGITUDE <GPS> | GPS(LONGITUDE)
LONGSTRING | LONGSTRING option
LONGSTRING APPEND | LONGSTRING APPEND array%(), string$
LONGSTRING CLEAR | LONGSTRING CLEAR array%()
LONGSTRING CONCAT | LONGSTRING CONCAT dest%(), src%()
LONGSTRING COPY | LONGSTRING COPY dest%(), src%()
LONGSTRING LCASE | LONGSTRING LCASE array%()
LONGSTRING LEFT | LONGSTRING LEFT dest%(), src%(), nbr
LONGSTRING LOAD | LONGSTRING LOAD array%(), nbr, string$
LONGSTRING MID | LONGSTRING MID dest%(), src%(), start, nbr
LONGSTRING PRINT | LONGSTRING PRINT [#n,] src%()
LONGSTRING REPLACE | LONGSTRING REPLACE array%() , string$, start
LONGSTRING RESIZE | LONGSTRING RESIZE n
LONGSTRING RIGHT | LONGSTRING RIGHT dest%(), src%(), nbr
LONGSTRING SETBYTE | LONGSTRING SETBYTE data , n
LONGSTRING TRIM | LONGSTRING TRIM array%(), nbr
LONGSTRING UCASE | LONGSTRING UCASE array%()
LOOP | LOOP [UNTIL expression]
LOOP UNTIL | LOOP [UNTIL expression]
LS | LS
M
M_MULT <MATH> | MATH M_MULT in1(), in2(), out()
M_PRINT <MATH> | MATH M_PRINT array()
M_TRANSPOSE <MATH> | MATH M_TRANSPOSE in(), out()
MAGNITUDE <MATH> | MATH(MAGNITUDE v())
MAP MAXIMITE | MAP MAXIMITE
MAP RESET | MAP RESET
MAP SET | MAP SET
MAP | MAP( n ) = rgb%
MATH | MATH option
MATH ADD | MATH ADD in(), num, out()
MATH FFT | MATH FFT signalarray!(), FFTarray!()
MATH FFT INVERSE | MATH FFT INVERSE FFTarray!(), signalarray!()
MATH FFT MAGNITUDE | MATH FFT MAGNITUDE signalarray!(),magnitudearray!()
MATH FFT PHASE | MATH FFT PHASE signalarray!(), phasearray!()
MATH INSERT | MATH INSERT targetarray(), [d1] [,d2] [,d3] [,d4] [,d5] , sourcearray()
MATH INTERPOLATE | MATH INTERPOLATE in1(), in2(), ratio, out()
MATH M_MULT | MATH M_MULT in1(), in2(), out()
MATH M_PRINT | MATH M_PRINT array()
MATH M_TRANSPOSE | MATH M_TRANSPOSE in(), out()
MATH Q_CREATE | MATH Q_CREATE theta, x, y, z, outRQ()
MATH Q_EULER | MATH Q_EULER yaw, pitch, roll, q()
MATH Q_INVERT | MATH Q_INVERT inQ(), outQ()
MATH Q_MULT | MATH Q_MULT inQ1(), inQ2(), outQ()
MATH Q_ROTATE | MATH Q_ROTATE RQ(), inVQ(), outVQ()
MATH Q_VECTOR | MATH Q_VECTOR x, y, z, outVQ()
MATH SCALE | MATH SCALE in(), scale ,out()
MATH SENSORFUSION | MATH SENSORFUSION type ax, ay, az, gx, gy, gz, mx, my, mz, ?pitch, roll, yaw [,p1] [,p2]
MATH SET | MATH SET nbr, array()
MATH SLICE | MATH SLICE sourcearray(), [d1] [,d2] [,d3] [,d4] [,d5] , destinationarray()
MATH V_CROSS | MATH V_CROSS inV1(), inV2(), outV()
MATH V_MULT | MATH V_MULT matrix(), inV(), outV()
MATH V_NORMALISE | MATH V_NORMALISE inV(), outV()
MATH V_PRINT | MATH V_PRINT array()
MATH ATAN3 | MATH(ATAN3 x,y)
MATH CHI | MATH(CHI a())
MATH CHI_p | MATH(CHI_p a())
MATH COSH | MATH(COSH a)
MATH DOTPRODUCT | MATH(DOTPRODUCT v1(), v2()
MATH LOG10 | MATH(LOG10 a)
MATH MAGNITUDE | MATH(MAGNITUDE v())
MATH MAX | MATH(MAX a())
MATH MEAN | MATH(MEAN a())
MATH MEDIAN | MATH(MEDIAN a())
MATH MIN | MATH(MIN a())
MATH SD | MATH(SD a())
MATH SINH | MATH(SINH a)
MATH SUM | MATH(SUM a())
MATH TANH | MATH(TANH a)
MAX <MATH> | MATH(MAX a())
MAX PAGES <MM.INFO> | MM.INFO( MAX PAGES)
MAX | MAX( arg1 [, arg2 [, ?]] )
MAXIMITE <MAP> | MAP MAXIMITE
MEAN <MATH> | MATH(MEAN a())
MEDIAN <MATH> | MATH(MEDIAN a())
MEMORY | MEMORY
MEMORY COPY | MEMORY COPY sourceaddress%, destinationaddres%, numberofbytes%
MEMORY SET | MEMORY SET address%, byte%, numberofbytes%
MEMORY SET BYTE | MEMORY SET BYTE address%, byte%, numberofbytes%
MEMORY SET FLOAT | MEMORY SET FLOAT address%, float!, numberoffloats%
MEMORY SET INTEGER | MEMORY SET INTEGER address%, integer%, numberofintegers%
MEMORY SET SHORT | MEMORY SET SHORT address%, short%, numberofshorts%
MEMORY SET WORD | MEMORY SET WORD address%, word%, numberofwords%
MID <LONGSTRING> | LONGSTRING MID dest%(), src%(), start, nbr
MID$ | MID$( str$, start [, num]) = str2$ or str2$ = MID$( string$, start [, nbr] )
MILLISECONDS <OPTION> | OPTION MILLISECONDS ON | OFF
MIN <MATH> | MATH(MIN a())
MIN | MIN( arg1 [, arg2 [, ?]] )
MKDIR | MKDIR dir$
MM.CMDLINE$ | MM.CMDLINE$
MM.DEVICE$ | MM.DEVICE$
MM.ERRMSG$ | MM.ERRMSG$
MM.ERRNO | MM.ERRNO
MM.FONTHEIGHT | MM.FONTHEIGHT
MM.FONTWIDTH | MM.FONTWIDTH
MM.HRES | MM.HRES
MM.I2C | MM.I2C
MM.INFO$ | MM.INFO$( option )
MM.INFO$ CPUSPEED | MM.INFO$( CPUSPEED)
MM.INFO$ CURRENT | MM.INFO$( CURRENT)
MM.INFO$ DIRECTORY | MM.INFO$(DIRECTORY)
MM.INFO$ KEYBOARD | MM.INFO$( KEYBOARD)
MM.INFO$ MODIFIED | MM.INFO$(MODIFIED file$)
MM.INFO$ OPTION AUTORUN | MM.INFO$( OPTION AUTORUN)
MM.INFO$ PIN | MM.INFO$(PIN pinno)
MM.INFO$ SDCARD | MM.INFO$( SDCARD)
MM.INFO$ SEARCH PATH | MM.INFO$( SEARCH PATH)
MM.INFO$ SOUND | MM.INFO$( SOUND)
MM.INFO$ TRACK | MM.INFO$( TRACK)
MM.INFO | MM.INFO( option )
MM.INFO DISK SIZE | MM.INFO( DISK SIZE)
MM.INFO FILESIZE | MM.INFO(FILESIZE file$)
MM.INFO FONTHEIGHT | MM.INFO( FONTHEIGHT)
MM.INFO FONTWIDTH | MM.INFO( FONTWIDTH)
MM.INFO FRAMEH | MM.INFO( FRAMEH)
MM.INFO FRAMEV | MM.INFO( FRAMEV)
MM.INFO FREE SPACE | MM.INFO( FREE SPACE)
MM.INFO HPOS | MM.INFO( HPOS)
MM.INFO MAX PAGES | MM.INFO( MAX PAGES)
MM.INFO MODE | MM.INFO( MODE)
MM.INFO OPTION | MM.INFO(OPTION option)
MM.INFO PAGE ADDRESS | MM.INFO(PAGE ADDRESS n)
MM.INFO PROGRAM | MM.INFO( PROGRAM)
MM.INFO RESET | MM.INFO(RESET)
MM.INFO VERSION | MM.INFO( VERSION)
MM.INFO VPOS | MM.INFO( VPOS)
MM.INFO WRITE PAGE | MM.INFO( WRITE PAGE)
MM.ONEWIRE | MM.ONEWIRE
MM.VER | MM.VER
MM.VRES | MM.VRES
MM.WATCHDOG | MM.WATCHDOG
MMDEBUG | MMDEBUG
MOD | value MOD value
MODE | MODE r, bits [, bg [, int]]
MODE <MM.INFO> | MM.INFO( MODE)
MODFILE <PLAY> | PLAY MODFILE file$ [,samplerate]
MODIFIED <MM.INFO$> | MM.INFO$(MODIFIED file$)
MODSAMPLE <PLAY> | PLAY MODSAMPLE sampleno, channelno [,volume] [,samplerate]
MOUSE <OPTION> | OPTION MOUSE channel [,sensitivity]
MOUSE CLOSE <CONTROLLER> | CONTROLLER MOUSE CLOSE [n]
MOUSE CLOSE <WII> | WII MOUSE CLOSE [n]
MOUSE OPEN <CONTROLLER> | CONTROLLER MOUSE OPEN [n] [,LEFTBUTTONint] [,RIGHTBUTTONint]
MOUSE OPEN <WII> | WII MOUSE OPEN [n] [,LEFTBUTTONint] [,RIGHTBUTTONint]
MOUSE | MOUSE( function [,i2channel])
MOVE <SPRITE> | SPRITE MOVE
MOVE <TURTLE> | TURTLE MOVE x, y
MP3 <PLAY> | PLAY MP3 file$ [, interrupt]
MSGBOX | MSGBOX (msg$, b1$ [,b2$ [, b3$ [, b4$]]])

Last edited: 21 November, 2020