How do I pass arguments to another script?
Haven't had much success with the /args
refinement.
I've written two scripts. One "do's" the
other as follows:
;CALLING script
REBOL [
Title: "testload.r (loading another file)"
Date: 21-Apr-2000
Author: ["newbie"]
]
do %loadtest.r
;CALLED script
REBOL [
Title: "loadtest.r loaded from testload.r"
Date: 21-Apr-2000
Author: ["newbie"]
]
print "in load test"
print ["Command Line Arg: " system/script/args]
;I would like to pass one or more arguments to
;loadtest.r. What would be the correct way to do
;it?
Thanks to all!! :>) tim