Changes

Locomotive BASIC

646 bytes added, 18:22, 4 April 2015
add description of 'ink'.
:Other nested structures like IF...THEN...'''ELSE...ELSE''' won't work first because the Locomotive Basic only looks after the first ELSE instruction found and can't execute more single commands as a block for a certain condition in comparision to e.g. "PASCAL" > begin...end-block, "C" > {...}-block.
==== <code>INK‹pen›,‹colour›,[‹second colour›]</code> ====: [Used to set the colour palette for each of the 16 available inks.: pen specifies the pen slot to use.: colour specifies the system colour to use (0.].27.): if the second colour is provided, Locomotive Basic will blink between the colour and second colour.: In MODE 0, all 16 pens are available. In MODE 1, only 4 pens are available (0..3). In MODE 2, only 2 pens are available (0..1.): By default, pen 0 is the background colour and pen 1 is the foreground/text colour.: Examples:<pre>10 MODE 220 INK 0,3: REM Set background colour to red30 INK 1,26: REM Set foreground/text colour to white</pre>
==== <code>INPUT[#‹stream expression›][,]</code> ====
7
edits