Bill Keehn
11-02-2011, 05:28 PM
The Programming Handbook says in the "Virtual Tool System" section that Shopbot Variables can be substituted for literal parameters, but this does not appear to be so.
For example, this works...
TR, 9000
SO,1,1
TR, 9000
PAUSE 180
SO,1,0
But this does not, even though the value of the variable prints correctly.
&WRPM = 9000
TR, 9000
SO,1,1
TR,&WRPM
PAUSE 180
SO,1,0
PRINT &WRPM
Anybody else run into this and is there a fix?
For example, this works...
TR, 9000
SO,1,1
TR, 9000
PAUSE 180
SO,1,0
But this does not, even though the value of the variable prints correctly.
&WRPM = 9000
TR, 9000
SO,1,1
TR,&WRPM
PAUSE 180
SO,1,0
PRINT &WRPM
Anybody else run into this and is there a fix?