Talk:Locomotive BASIC

Page contents not supported in other languages.
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[edit]

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
It is also supplied with OpenGEM and is the recommended GUI for FreeDOS. —Preceding unsigned comment added by 87.80.43.62 (talk) 02:23, 10 August 2009 (UTC)[reply]
There are two versions Of Locomotive Basic2. The retail version is Locomotive Basic2 Plus, the version distributed with Amstrad PC1512 and Amstrad PC1640 is Locomotive Basic. There are some minor differences between the two.

SOUND command[edit]

I had an MSX and the sound command was pretty complete. —Preceding unsigned comment added by 82.155.154.228 (talk) 10:30, 30 March 2010 (UTC)[reply]

Disputed relationship to Mallard BASIC[edit]

Locomotive BASIC is currently stated in the lead to be "the main ancestor of Mallard BASIC". Maybe I've misunderstood something, or this source is incorrect when it states "the company ... had already been commissioned by Acorn to write a version of Basic for the BBC Micro's add-on Z80 processor". In any case, for the moment, I've added {{disputed-inline}}, because my understanding is that Mallard BASIC is the ancestor of Locomotive BASIC: "Their Mallard Basic ... had been finished..." -- Trevj (talk · contribs) 13:50, 17 February 2014 (UTC)[reply]

...weird 27-color graphics modes...[edit]

I think the word "weird" just ... seems odd here. It would probably be better to use an expression like "nonstandard". Maybe? 2.11.29.145 (talk) 10:08, 22 February 2015 (UTC)[reply]