You don't need help figuring out what I want.
Offline
Except it is already defined as private. I am trying to make a block that mirrors the shift-click-R menu.
Offline
it looks like readVar but it's not working.
Offline
|t1|
t1_ self readVar:'global scratch variable name'.
^ t1
_____________________________________-
line 1 declares the variable t1
line 2 sets the variable t1 to the global variable "global scratch variable name". (remember the single speech marks ( ' not " ) and the period at the end of the line.
the last line reports the variable t1. If you make the block a reporter, you should get it reporting the value of the global variable! Voila!
Offline
Can it only see public variables? I want to make one that tells whether fill screen is on or off.
Offline