This should be simple!!!
Len Morgan
len-morgan at crcom.net
Tue Mar 6 10:23:48 EST 2007
In my now 3 year long quest to write just ONE useable Rev program, I was
close but ran into something that I just can't figure out. I have a
checkbutton on a configuration stack (separate from the main stack) and
a global variable that I set the hilite of the button to (mostly so I
don't need long convoluted descriptions to get to the state from the
main stack).
When it comes time to check the button state, I "put" the global
variable and it says it's true. The very next line is:
if gSaveInputPath then
-- save the path to the file just used for next time
end if
This FAILS every time (I added an else clause to display "not saving
path" just to make sure I was actually getting to the code). I also tried
if gSaveInputPath is true then.... and that fails too. If I check my
global variables, it is in fact showing "true" so I can't figure out
what's (not) going on.
Len
PS: Thanks to Jim Ault for you response on the field question. You were
right that I'm not using groups on various cards/stacks to display the
same information in different places. I'll give your suggestions a shot
as soon as I get this (hopefully simpler) problem resolved.
More information about the use-livecode
mailing list