<!-- PDF page 291 -->

<table>
<tbody>
<tr><td></td><td>No swap partition</td><td>An application attempted to access a swap partition, but couldn’t find one. Create a new swap partition with .<b>MKSWAP</b> and try again.</td></tr>
<tr><td></td><td>Not bootable</td><td>An attempt has been made to boot a disk image without a boot sector or boot program.</td></tr>
<tr><td></td><td>Not implemented</td><td>An attempt was made to access a facility which isn’t available.</td></tr>
<tr><td>RIC</td><td>Not ready</td><td>The storage device was not ready. This usually happens because it has been removed.</td></tr>
<tr><td></td><td>Out of handles</td><td>There aren’t enough handles left to perform the current operation. Unmap a drive and try again.</td></tr>
<tr><td></td><td>Partition open</td><td>The partition you are trying to delete or map is already mapped to a drive.</td></tr>
<tr><td>RIC</td><td>Read only</td><td>An attempt has been made to write to a file or storage device which is read-only or has been write-protected.</td></tr>
<tr><td>RIC</td><td>Seek fail</td><td>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.</td></tr>
<tr><td></td><td>Too big</td><td>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).</td></tr>
<tr><td>RIC</td><td>Unsuitable media</td><td>The device or disk image is formatted in a way that cannot be handled.</td></tr>
<tr><td>b</td><td>Wrong file type</td><td>Trying to <b>LOAD</b> a file of the wrong type (eg trying to load a <b>CODE</b> file as a <i>NextBASIC</i> program).</td></tr>
</tbody>
</table>

### NextBASIC Keywords and Functions

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 |

