PDA

View Full Version : Setting Variable to NULL



smh_2007
07-10-2007, 11:49 AM
Hi,

I am trying to use the Set Variable function. I want to set the variable to NULL. When I try to set the value it puts quotes around it (ex. "[NULL]","NULL").

I found the following in the documentation:

SetupBuilder—Set Variable %MYVARIABLE% to [NULL]
Dynamic Link Library—IF OMITTED(MyVariable) OR NOT MyVariable THEN

It doesn't appear to work because the word NULL/[NULL] is in double quotes.

Is anybody else having the same problem?

Thanks,

Sharon

linder
07-11-2007, 03:12 AM
Sharon,

The following will create an "empty" variable:

Set Variable %TEST% to ""

Just leave the "New Value" blank.

HTH,
Friedrich