[gradsusr] Creating Script With Just if/endif Statements
Marsh, Kieren
k.marsh at geos-uae.com
Mon Jan 13 00:14:54 EST 2014
Just type the following in your first script:
'my_second_script 'arg1' 'arg2' '....' 'argn
If the location of my_second_script is not on your path then put:
scriptloc = 'c:/data/' - or your OS equivalent
scriptloc'my_second_script 'arg1' 'arg2' '....' 'argn
Make sure all the variables to be tested by if/endif in your second
script are passed from your first, i.e. arg1, ...., argn as above.
Kieren
From: gradsusr-bounces at gradsusr.org
[mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Perry, Aaron @ LSC
Sent: 13 January 2014 04:20
To: gradsusr at gradsusr.org
Subject: [gradsusr] Creating Script With Just if/endif Statements
Good Evening All,
This seemingly simple process is really stumping me...
I have a bunch of if/endif statements in a script of mine and I would to
take those statements out and put them into a separate script and then
call the new script filled with the if/endif statements in the original
script.
I've been searching online for examples of this but, I have had no luck
as of yet...
Onward and Upward,
Aaron D. Perry
Boston, MA
Lyndon State College '15
Twitter: @AaronPerryLSC <https://twitter.com/AaronPerryLSC>
Mobile: 617-780-4312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140113/09c57a0f/attachment.html
More information about the gradsusr
mailing list