[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Programming Ques - Passing arguments with RUN



Reply to note from Russ Urquhart  Wed, 7
Jan 2004 20:54:34 -0600

Russ:

> run index.pm vpPathway vpText
>
> does vpText get stored in any macro automatically? I tried
> entering this at the commandline but 00 still only gets
> vpPathway.

Look again. S/G 00 gets the *entire* argument, "vpPathway vpText".
To get "vpText" into a separate S/G, you have to parse 00:

>

At this point you have:

01: vpPathway vpText
02: {space}
03: vpPathway
04: {space}
05: vpText

If you're running Xy4 or later, >>
puts "vpPathway" into 01 and "vpText" into 02.

--
Carl Distefano
cld@xxxxxxxx