Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246
Changes - CPCWiki

Changes

Locomotive BASIC

6 bytes added, 14:16, 26 February 2007
/* RENUM [newLine],[oldLine],[step] */
: Renumbers the lines of the current program.
: By default, the whole program is renumbered starting at line 10 with multiples of ten.
It is important to note that ''jumps'' (<tt>GOTO</tt>, <tt>GOSUB</tt> and the like) are automatically converted to the new line numbers.
: The whole set of parameters can be used to renumber only the last part of a program. : Example:
''Example:''
<pre>
10 GOTO 20
</pre>
: becomes, after calling <tt>RENUM 100,20,5</tt> 
<pre>
10 GOTO 100
197
edits