Changes

Jump to: navigation, search

Locomotive BASIC

70 bytes added, 01:56, 26 January 2008
/* RENUM [newLine],[oldLine],[step] */ Adjusted argument list
: Introduces a comment.
==== RENUM [newLine][,oldLine | ,[oldLine],[step] ====
: Renumbers the lines of the current program.
: By default, the whole program is renumbered starting at line 10 with multiples of ten. Any parameter that is left out defaults to 10. It is important to note that ''jumps'' (<ttcode>GOTO</ttcode>, <ttcode>GOSUB</ttcode> 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.
</pre>
: becomes, after calling <ttcode>RENUM 100,20,5</ttcode>
<pre>
13
edits