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

Re: Programming Ques - Passing arguments with RUN



Thanks!

also, if i can ask another quick question. If i have

vpPath::setText
in 01. Is there a quick way to change that to vpPath\:\:setText in either 01 or into another macro?

Thanks again for your help!

Russ

On Wednesday, January 7, 2004, at 11:37 PM, Carl Distefano wrote:

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