You may find the replies in this thread illuminating.
the lowliest monk
In reply to Re: passing arguments between scripts by tlm in thread passing arguments between scripts by jeastman