PDA

View Full Version : Pass the value of a Macro to a Script Variable


rusha
04-29-2004, 01:37 PM
I'm trying to do this in a simple script:

dim foo
foo=%BUILD_VER%

BUILD_VER is a temporary Macro that the user fills in via prompt.

I get the error:
Error at Line 2, Column 15 (Expected end of statement)

How can I pass the value of this Macro to a variable in script?

Thanks!

rusha
04-29-2004, 02:15 PM
DOH!
I figured it out -
foo="%BUILD_VER%"