franke Master Poster
Joined: 26 Jun 2004 Posts: 161 Location: Indiana, USA
|
Posted: Fri Jul 02, 2004 11:52 am Post subject: How To Initialize a Range of Variables |
|
|
It's good programming practice to initialize the variables that you are going to use. This loop will set common variables 100-149 to VACANT. Change #1=100 to a new starting variable if you want to clear a different range.
Use this simple code to clear a range of variables before using them to guarantee that you start with Vacant values!
Code: | #1=100
WHILE[#1LE149]DO1
#[#1]=#0
#1=#1+1
END1 |
Enjoy! |
|