| Author |
Message |
chainer
Joined: 25 Feb 2007 Posts: 17
|
Posted: March 12, 2007 7:26 AM Post subject: clearing expressions |
|
|
| does anyone know how to write the code to clear expressions? |
|
| Back to top |
|
 |
mark
Joined: 24 Feb 2007 Posts: 27
|
Posted: March 12, 2007 4:07 PM Post subject: |
|
|
| what do you mean, do you mean clear the home screen? or clear the program screen? |
|
| Back to top |
|
 |
chainer
Joined: 25 Feb 2007 Posts: 17
|
Posted: March 12, 2007 5:28 PM Post subject: |
|
|
| i mean, when you store a variable in a program, it creates an expr. under the vlink menu. and i was wondering how to delete them each time the program runs, so theres no using the wrong values. |
|
| Back to top |
|
 |
mark
Joined: 24 Feb 2007 Posts: 27
|
Posted: March 12, 2007 6:45 PM Post subject: |
|
|
at the beginning of your program use "local" for instance if you are going to use x and y then put "local x,y" at the beginning
or another way to do it would be to use "delvar x,y" which deletes them and would be used at the end of the program |
|
| Back to top |
|
 |
chainer
Joined: 25 Feb 2007 Posts: 17
|
Posted: March 12, 2007 7:27 PM Post subject: |
|
|
oh jeez, its so simple now.
thank you so much, are you sure that you don't want the program? |
|
| Back to top |
|
 |
mark
Joined: 24 Feb 2007 Posts: 27
|
Posted: March 12, 2007 7:29 PM Post subject: |
|
|
| im fine |
|
| Back to top |
|
 |
chainer
Joined: 25 Feb 2007 Posts: 17
|
Posted: March 12, 2007 8:27 PM Post subject: |
|
|
| well theres no way i can ever repay you, so if you need something, like programs or computer stuff, let me know. |
|
| Back to top |
|
 |
|