[gradsusr] Split GrADS script

Jennifer Adams jma at cola.iges.org
Wed Aug 19 16:13:32 EDT 2015


Please see the doc page on script functions: http://iges.org/grads/gadoc/gsf.html
—Jennifer

On Aug 19, 2015, at 2:45 PM, Oriol Ciurana <uri at uriens.cat> wrote:

> Hello,
> 
> Is there any way to split a GrADS script file in some small files?
> I mean, a GrADS command to include the code of small scripts into the main one, like in PHP language when doing <?php include("file.php"); ?>.
> 
> I tried to do it using 'run script.gs' from inside the main one but seems that global variables don't work in all the code, they only work in the code inside the same .gs file.
> 
> Thanks in advance,
> 
> Oriol Ciurana
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150819/bfabf53e/attachment.html 


More information about the gradsusr mailing list