Talk:Locomotive BASIC

From Wikipedia, the free encyclopedia

I thought the PCW used Mallard Basic, not Locomotive?

There wasn't a GET or PUT in BASIC on the CPC, and ERASE dealt with arrays, not files. I have a manual in front of me to check.

147.162.2.222 , did you mean the |era, etc. commands? Those weren't, technically, part of the BASIC, but calls to the OS (or any ROMs you may have had installed)

Anyway, the commands the CPC 6128 has are:

ABS, AFTER, AND, ASC, ATN, AUTO, BIN$, BORDER, BREAK, CALL, CAT, CHAIN, CHAIN MERGE, CHR$, CINT, CLEAR, CLEAR INPUT, CLG, CLOSEIN, CLOSEOUT, CONT, COPYCHR$, COS, CREAL, CURSOR, DATA, DEC$,DEF FN, DEFINT, DEFREAL, DEFSTR, DEG, DELETE, DERR, DI, DIM, DRAW, DRAWR, EDIT, EI, ELSE, END, ENT, ENV, EOF, ERASE, ERL, ERR, ERROR, EVERY, EXP, FILL, FIX, FN, FOR, FRAME, FRE, GOSUB, GOTO, GRAPHICS PAPER, GRAPHICS PEN, HEX$, HIMEM, IF, INK, INKEY, INKEY$, INP, INPUT, INSTR, INT, JOY, KEY, KEY DEF, LEFT$, LEN, LET, LINE INPUT, LIST, LOAD, LOCATE, LOG, LOG10, LOWER$, MASK, MAX, MEMORY, MERGE, MID$, MIN, MOD, MODE, MOVE, MOVER, NEW, NEXT, NOT, ON BREAK CONT, ON BREAK GOSUB, ON BREAK STOP, ON ERROR GOTO, ON <expression> GOSUB, ON <expression> GOTO, ON SQ GOSUB, OPENIN, OPENOUT, OR, ORIGIN, OUT, PAPER, PEEK, PEN, PI, PLOT, PLOTR, POKE, POS, PRINT, PRINT SPC, PRINT TAB, PRINT USING, RAD, RANDOMIZE, READ, RELEASE, REM, REMAIN, RENUM, RESTORE, RESUME, RESUME NEXT, RETURN, RIGHT$, RND, ROUND, RUN, SAVE, SGN, SIN, SOUND, SPACE$, SPC, SPEED INK, SPEED KEY, SPEED WRITE, SQ, SQR, STEP, STOP, STR$, STRING$, SWAP, SYMBOL, SYMBOL AFTER, TAB, TAG, TAGOFF, TAN, TEST, TESTR, THEN, TIME, TO, TROFF, TRON, UNT, UPPER$, USING, VAL, VPOS, WAIT, WEND, WHILE, WIDTH, WINDOW, WINDOW SWAP, WRITE, XOR, XPOS, YPOS, ZONE.

Are you working from a source which says different, or just memory?


Locomotive Basic 2

There's also Locomotive Basic 2, which was supplied with the AmstradPC1512 for GEM Desktop 2. Does anyone know about this? Because I lack any kind of manual for it. - Red_Hat_Eagle

Yes, it was distributed with AmstradPC1512. You can even check for yourself by downloading ZIP archive of diskettes delivered with the computer. They can be located on the following URL