[gradsusr] keep variable when opening a new .gs file

Joralf Quist J.Quist at meteovista.nl
Thu Aug 26 04:32:29 EDT 2010


Hi all!

I was wondering, is it possible to define a variable in one script and keep that variable when opening a new script?

For example:

uberscript.gs contains:

region='europe'
'run 'region'.gs'

It will then run europe.gs, in which I want to have region defined as europe. But grads resets the defined variables when you open up a a new script.

Any help would be greatly appreciated.

All the best,

Joralf Quist
Assistant Meteorologist
Meteovista.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100826/1e24e410/attachment-0003.html 


More information about the gradsusr mailing list