| No swap partition | An application attempted to access a swap partition, but couldn’t find one. Create a new swap partition with .MKSWAP and try again. | |
| Not bootable | An attempt has been made to boot a disk image without a boot sector or boot program. | |
| Not implemented | An attempt was made to access a facility which isn’t available. | |
| RIC | Not ready | The storage device was not ready. This usually happens because it has been removed. |
| Out of handles | There aren’t enough handles left to perform the current operation. Unmap a drive and try again. | |
| Partition open | The partition you are trying to delete or map is already mapped to a drive. | |
| RIC | Read only | An attempt has been made to write to a file or storage device which is read-only or has been write-protected. |
| RIC | Seek fail | The device is unable to locate the sector that has been requested. If this error persists it may indicate that the device or disk image is faulty. |
| Too big | An attempt has been made to write a file that is too large for the filesystem (greater than 8MB for +3DOS filesystems, 2GB on FAT16 or 4GB on FAT32). | |
| RIC | Unsuitable media | The device or disk image is formatted in a way that cannot be handled. |
| b | Wrong file type | Trying to LOAD a file of the wrong type (eg trying to load a CODE file as a NextBASIC program). |
The following is a list of all NextBASIC keywords in alphabetical order with a short description regarding their function.
| Keyword | Meaning |
|---|---|
| BANK 1346 FORMAT | Reserve banks 1,3,4,6 for use by the RAMdisk again. |
| BANK 1346 USR | Allow banks 1,3,4,6 to be used by the BANK command. |
| BANK m COPY TO n | Copy the contents of bank m to bank n |
| BANK m DPOKE o, list... | Double POKE a sequence of comma-separated values starting at offset o in bank m. |
| BANK m ERASE [o, l,] [v] | Fill bank m's optional l bytes (all if not specified) at optional offset o (0 if not specified) with value (zero is used if value not specified). |
| BANK m CLEAR | Marks bank m as free for use by other parts of the system. |
| BANK m COPY o, l TO n,o2 | Copy l bytes starting at offset o in bank m to offset o2 in bank n. |
| BANK m GOSUB n | GOSUB line n in bank m. To GOSUB the main program from a banked section, use m=255. See also RETURN and GOSUB. |
| BANK m GOTO n | GOTO line n in bank m. To GOTO the main program from a banked section, use m=255. |
| BANK m LAYER o|x,y,w,h TO [rop] x,y,w,h|o | Copies data to | from the screen (in the current mode) from | to offset in bank m. [rop] is an optional symbol modifier which affects how the data is copied. |
| BANK m LINE x,y | Copies lines x to y inclusive from the main program to bank m. |
| BANK m LIST [n|PROC name()] | List lines (optionally from line n or procedure named name) in bank m. |
| BANK m MERGE | Copy all lines back from bank m into the main program. |
| BANK m POKE o, list... | POKE a sequence of comma-separated values starting at offset o in bank m. |
| BANK m PROC name ([expressionlist]) [TO paramlist] | Call a procedure in bank m. To call a procedure in the main program from a banked section, use n=255. See also DEFPROC. |
| BANK m RESTORE n | Set the DATA pointer to line n in bank m |
| BANK NEW var | Reserves the next available free bank number and assigns it to the numeric variable var |
| BEEP x, y | Sounds a note through the loudspeaker for x seconds at a pitch y semitones above middle C (or below if y is negative). |
| BORDER m | Sets the colour of the border of the screen. |
| BRIGHT n | Sets brightness of characters subsequently printed. n=0 for normal, 1 for bright. 8 for transparent.Error K if n not 0, 1 or 8 |
| CAT [#n,] [[filespec [EXP]]|TAB|ASN] | Produces an alphanumerically sorted catalog of files on screen or to an optional stream n from the default drive or according to the optional filespec in standard or EXPanded form. With the optional TAB and ASN modifiers produces information regarding partitions and drive letter assignments. |
| CD filespec | Change the current drive and/or directory to the one specified in filespec. |
| CIRCLE x, y, z | Draws an arc of a circle, centre (x,y), radius z |
| CLEAR [n] | Deletes all variables, freeing the space they occupied. Does RESTORE and CLS, resets the PLOT position to the bottom left-hand corner and clears the NextBASIC Return stack. Optional address n attempts to change the RAMTOP to that address |
| CLOSE #n | Marks stream n as being unattached to any channel. |
| CLS | (Clear Screen). Clears the display of the current layer |
ZX Spectrum Next User Manual, 3rd Edition (ISBN 978-1-5272-5496-1), written and illustrated by Phoebus R. Dokos. Copyright © 2020-2024 Phoebus Dokos / SpecNext Ltd. Licensed under CC BY-NC-SA 4.0. This is a transcription and can contain errors; check any doubt against the printed page.