Changes

Jump to: navigation, search

Locomotive BASIC

9 bytes added, 21:31, 27 February 2007
/* DRAW x,y [,[i1][,i2]] */
==== DRAW x,y [,[i1][,i2]] ====
 
: Draws a line from the current cursor position to position x,y. i1 specifies colour, i2 is the logical colour.
 
<pre>
i2 = 0 normal colour i2 = 2 AND colour
i2 = 1 XOR colour i2 = 3 OR colour
</pre>
 ::''Example:''::<pre>CLG 2::DRAW 500,400,0 - draws a line from 0,0 to 500,400</pre>
==== DRAWR xr, yr, [[i1][,i2]] ====
197
edits