Dear Len,
Are you sure that the code between "if gSaveInputPath then" and "end
if" doesn't run at all? What if you put "beep" right after the if
statement? Make sure tu check the result after saving your file. If
the file can't be opened and you don't check the result, no
exectution error occurs and you may never know that something went
wrong.
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 6-mrt-2007, om 16:23 heeft Len Morgan het volgende geschreven:
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.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution