# Command reference N - P

N
N <SPRITE> | SPRITE(N [,n ])
NAME | NAME old$ AS new$
NEW | NEW
NEXT | NEXT [counter-variable] [, counter-variable], etc
NEXT <PLAY> | PLAY NEXT
NEXT <SPRITE> | SPRITE NEXT [#]n, x, y
NOINTERUPT <SPRITE> | SPRITE NOINTERRUPT
NOT | logical NOT
NOT | NOT expression
NOW <DAT$> | DAY$(NOW)
NUMBERBOX <GUI> | GUI NUMBERBOX #ref, X, Y [, width, height, FC, BC]
NUMCHUK OPEN <CONTROLLER> | CONTROLLER NUNCHUK OPEN [n] [,Zinterrupt [,Cinterrupt] ]
NUMCHUK OPEN <WII> | WII NUNCHUK OPEN [n] [,Zinterrupt [,Cinterrupt] ]
NUNCHUK CLOSE <CONTROLLER> | CONTROLLER NUNCHUK CLOSE [n]
NUNCHUK CLOSE <WII> | WII NUNCHUK CLOSE [n]
NUNCHUK | NUNCHUK(funct, channel)
O
OCT$ | OCT$( number [, chars])
OFF <#MMDEBUG> | #MMDEBUG OFF
OFF <TRACE> | TRACE OFF
ON | ON nbr GOTO | GOSUB target1 [, target2, ...]
ON <#MMDEBUG> | #MMDEBUG ON
ON <TRACE> | TRACE ON
ON ERROR ABORT | ON ERROR ABORT
ON ERROR CLEAR | ON ERROR CLEAR
ON ERROR IGNORE | ON ERROR IGNORE
ON ERROR SKIP | ON ERROR SKIP [nn]
ON KEY | ON KEY [ASCIIcode,] interrupt_routine
ONEWIRE READ | ONEWIRE READ pin, flag, length, data [, data ...]
ONEWIRE RESET | ONEWIRE RESET pin
ONEWIRE WRITE | ONEWIRE WRITE pin, flag, length, data [, data ...]
OPEN | OPEN fname$ FOR mode AS [#]fnbr | OPEN comspec$ AS [#]fnbr | OPEN comspec$ AS GPS [,tz_offset] [,monitor]
OPEN <ADC> | ADC OPEN frequency,channel1-pin [,channel2-pin] [,channel3-pin] [,interrupt]
OPEN <I2C2> | I2C2 OPEN speed, timeout
OPEN <I2C3> | I2C3 OPEN speed, timeout
OPEN <I2C> | I2C OPEN speed, timeout
OPEN <SPI2> | SPI2 OPEN speed, mode, bits
OPEN <SPI> | SPI OPEN speed, mode, bits
OPTION | OPTION parameter
OPTION <MM.INFO> | MM.INFO(OPTION option)
OPTION ANGLE | OPTION ANGLE mode
OPTION AUTORUN | OPTION AUTORUN OFF | ON
OPTION AUTORUN <MM.INFO$> | MM.INFO$( OPTION AUTORUN)
OPTION BASE | OPTION BASE 0 | 1
OPTION BASELINE | OPTION BASELINE ON | OFF
OPTION BAUDRATE | OPTION BAUDRATE nbr
OPTION BREAK | OPTION BREAK nn
OPTION CASE | OPTION CASE UPPER | LOWER | TITLE
OPTION CLOCKTRIM | OPTION CLOCKTRIM ?n
OPTION COLOURCODE | OPTION COLOURCODE ON | OFF | REVERSE
OPTION CONSOLE | OPTION CONSOLE SCREEN | SERIAL | BOTH or OPTION CONSOLE SAVE
OPTION CONSOLE AUTO | OPTION CONSOLE AUTO
OPTION CONSOLE ECHO | OPTION CONSOLE ECHO | NOECHO
OPTION CONSOLE INVERT | OPTION CONSOLE INVERT | NOINVERT
OPTION CONSOLE PORT | OPTION CONSOLE PORT n
OPTION CONTROLS | OPTION CONTROLS nn
OPTION CRLF | OPTION CRLF CR | LF | CRLF
OPTION DEFAULT | OPTION DEFAULT FLOAT | INTEGER | STRING | NONE
OPTION DEFAULT MODE | OPTION DEFAULT MODE n
OPTION DISPLAY | OPTION DISPLAY lines [,chars]
OPTION DS3231 | OPTION DS3231 ON | OFF
OPTION EDIT FONT | OPTION EDIT FONT SMALL | NORMAL | MEDIUM | LARGE
OPTION EXPLICIT | OPTION EXPLICIT
OPTION F11 | OPTION F11 string$
OPTION F12 | OPTION F12 string$
OPTION FLASH | OPTION FLASH [n]
OPTION KEYBOARD | OPTION KEYBOARD US | UK | FR | GR | BE | IT | ES
OPTION KEYBOARD REPEAT | OPTION KEYBOARD REPEAT firstchar, nextchar
OPTION LCDPANEL | OPTION LCDPANEL options
OPTION LEGACY | OPTION LEGACY ON | OFF
OPTION LIST | OPTION LIST
OPTION MILLISECONDS | OPTION MILLISECONDS ON | OFF
OPTION MOUSE | OPTION MOUSE channel [,sensitivity]
OPTION OVERCLOCK | OPTION OVERCLOCK ON | OFF
OPTION PIN | OPTION PIN nbr
OPTION PROFILING | OPTION PROFILING ON | OFF
OPTION RAM | OPTION RAM
OPTION RESET | OPTION RESET
OPTION RTC | OPTION RTC data, clock | DISABLE
OPTION RTC CALIBRATE | OPTION RTC CALIBRATE ?n
OPTION SAVE | OPTION SAVE
OPTION SD TIMING | OPTION SD TIMING NORMAL | FAST
OPTION SDCARD | OPTION SDCARD CS [, CD [,WP]] | DISABLE
OPTION SEARCH PATH | OPTION SEARCH PATH pathname$
OPTION SERIAL PULLUP | OPTION SERIAL PULLUP ENABLE | DISABLE
OPTION SLEEP | OPTION SLEEP n
OPTION STATUS | OPTION STATUS ON | OFF
OPTION TAB | OPTION TAB 2 | 3 | 4 | 8
OPTION TOUCH | OPTION TOUCH T_CS pin, T_IRQ pin [, click pin] | DISABLE
OPTION USBKEYBOARD | OPTION USBKEYBOARD | UK | US | DE | FR | ES [,noLED]
OPTION VCC | OPTION VCC voltage
OPTION Y_AXIS | OPTION Y_AXIS UP | DOWN
OR | logical OR
OR | value OR value
OR_PIXELS <BOX> | BOX OR_PIXELS x, y, w, h, colour [,pageno]
OR_PIXELS <PAGE> | PAGE OR_PIXELS sourcepage1, sourcepage2, destinationpage
OVERCLOCK <OPTION> | OPTION OVERCLOCK ON | OFF
P
PAGE | PAGE options
PAGE ADDRESS <MM.INFO> | MM.INFO(PAGE ADDRESS n)
PAGE AND_PIXELS | PAGE AND_PIXELS sourcepage1, sourcepage2, destinationpage
PAGE COPY | PAGE COPY n TO m [,when]
PAGE DISPLAY | PAGE DISPLAY n [,page]
PAGE LIST | PAGE LIST
PAGE OR_PIXELS | PAGE OR_PIXELS sourcepage1, sourcepage2, destinationpage
PAGE RESIZE | PAGE RESIZE pageno, width, height
PAGE SCROLL | PAGE SCROLL pageno, x, y [,fillcolour]
PAGE STITCH | PAGE STITCH frompage1, from_page_2, topage, offset
PAGE WRITE | PAGE WRITE n
PAGE XOR_PIXELS | PAGE XOR_PIXELS sourcepage1, sourcepage2, destinationpage
PAGES <LIST> | LIST PAGES
PAUSE | PAUSE delay mS
PAUSE <PLAY> | PLAY PAUSE
PEEK | PEEK(parameter)
PEEK BYTE | PEEK(BYTE addr%)
PEEK FLOAT | PEEK(FLOAT addr%
PEEK INTEGER | PEEK(INTEGER addr%)
PEEK PROGMEM | PEEK( PROGMEM, ?offset)
PEEK SHORT | PEEK(SHORT addr%)
PEEK VAR | PEEK(VAR var, ?offset)
PEEK VARADDR | PEEK(VARADDR var)
PEEK VARTBL | PEEK( VARTBL, ?offset)
PEEK WORD | PEEK(WORD addr%)
PEN COLOUR <TUTTLE> | TURTLE PEN COLOUR col
PEN DOWN <TURTLE> | TURTLE PEN DOWN
PEN UP <TURTLE> | TURTLE PEN UP
PI | PI
PIN | PIN( pin | function$)
PIN <MM.INFO$> | MM.INFO$(PIN pinno)
PIN <OPTION> | OPTION PIN nbr
PIN | PIN( pin ) = value
PIXEL | PIXEL x, y [,colour]
PIXEL FAST | PIXEL FAST x, y [,colour]
PIXEL FILL | PIXEL FILL x, y, newcolour
PIXEL | PIXEL( x, y [,page_number])
PLAY | PLAY parameter
PLAY EFFECT | PLAY EFFECT file$ [,interrupt]
PLAY FLAC | PLAY FLAC file$ [, interrupt]
PLAY MODFILE | PLAY MODFILE file$ [,samplerate]
PLAY MODSAMPLE | PLAY MODSAMPLE sampleno, channelno [,volume] [,samplerate]
PLAY MP3 | PLAY MP3 file$ [, interrupt]
PLAY NEXT | PLAY NEXT
PLAY PAUSE | PLAY PAUSE
PLAY PREVIOUS | PLAY PREVIOUS
PLAY RESUME | PLAY RESUME
PLAY SOUND | PLAY SOUND soundno, channelno, type [,frequency] [,volume]
PLAY STOP | PLAY STOP
PLAY TONE | PLAY TONE left , right [, dur [, interrupt]]
PLAY TTS | PLAY TTS [PHONETIC] 'text' [,speed] [,pitch] [,mouth] [,throat] [, interrupt]
PLAY VOLUME | PLAY VOLUME left, right
PLAY WAV | PLAY WAV file$ [, interrupt]
PNG <LOAD> | LOAD PNG file$ [, x, y] [, transparency_cut_off]
POKE | POKE parameter
POKE BYTE | POKE BYTE addr%, byte
POKE FLOAT | POKE FLOAT addr%, float!
POKE INTEGER | POKE INTEGER addr%, int%
POKE SHORT | POKE SHORT addr%, short%
POKE VAR | POKE VAR var, offset, byte
POKE VARTBL | POKE VARTBL, offset, byte
POKE WORD | POKE WORD addr%, word%
POLYGON | POLYGON n[()], xarray%(), yarray%() [, bordercolour[()]] [, fillcolour[()]]
PORT | PORT(start, nbr [,start, nbr] ...) = value or value = PORT(start, nbr [,start, nbr]?)
POS | POS
PREVIOUS <PLAY> | PLAY PREVIOUS
PRINT | PRINT expression [[,; ]expression] ... | PRINT #nbr, expression [[,; ]expression] ?
PRINT #GPS | PRINT #GPS, string$
PRINT <LONGSTRING> | LONGSTRING PRINT [#n,] src%()
PRINT @ | PRINT @(x, y [, m] ) expression
PROFILE <LIST> | LIST PROFILE [CSV]
PROFILING <OPTION> | OPTION PROFILING ON | OFF
PROGMEM <PEEK> | PEEK( PROGMEM, ?offset)
PROGRAM <MM.INFO> | MM.INFO( PROGRAM)
PULSE | PULSE pin, width
PULSIN | pulsewidth = PULSIN( pin, polarity [, t1 [, t2]])
PWM | PWM channel, freq, chA [, chB [, chC ]] | PWM channel, STOP

Last edited: 21 November, 2020