Hi Horst,

If you use the global statement inside a handler, you have to repeat that in all handlers that use the declared variables. If you use global outside a handler, you still have to repeat it at the top of all scripts that use the declared variables. So, you could write

global var1,var2,var3,var4

at the top of the card script to use these variables in all handlers of the card script.

I've noticed that you use spaces instead of commas to separate variables. Does that work?

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-dec-2006, om 12:56 heeft [EMAIL PROTECTED] het volgende geschreven:

Hello everybody,

Using RunRev 2.7.4,

I declare

on preopenstack
...
...
global var1 var2 var3 var4
...
...
put "my variable" into var1
end preopenstack

Now, in another card, I would like to use var1, but var1 is empty. Does someone know why? where is my fold?

best regards and Thanks in advance

Horst

_______________________________________________
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

Reply via email to