Changes

Jump to: navigation, search

Locomotive BASIC

213 bytes added, 13:11, 5 October 2012
/* DEFINT ‹letter range› */
==== <code>DEFINT ‹letter range›</code> ====
: Forces all variables(s) starting with the specified letter(s) to be integer variables. Singular letters could be defined or a range by a minus symbol between two letters.
: ExampleExamples:
<pre>
20 DEFINT a-z:' sets all variables starting with an A until Z as integer.
</pre>
or
<pre>
10 DEFINT F,S ..... (or 10 DEFINT A-Z)
20 FIRST=111.11:SECOND=22.2
30 PRINT FIRST,SECOND:' prints out 111 22
</pre>
205
edits