PDA

View Full Version : Runtime Variables with Spaces



NewsArchive
12-27-2008, 07:33 AM
Hi Friedrich

In testing SB7 I triend using a runtime variable named with a space ... %AA BB%

I was able to initiate the variable,
and was able to edit it successfully in an Edit dialogue.

But then if I try to dsplay the content in a Display Message box
I get the name of the variable instead of its content.

So it looks like embedded spaces in a runtime variable is not
handled the same in all places.

Also tested in SB6 with same result.

Help does not say that Runtime vars should not contain spaces,
yet they work OK in many places, but not all.

I think you should detect and ban spaces in runtime variables.
But perhaps consider that there may be scripts out there where spaces have been used.


John Griffiths

NewsArchive
12-27-2008, 07:34 AM
Hi John,

This should definitely be mentioned in the manual. We'll fix this in the
next build.

RULES FOR NAMING VARIABLES

Variable names can contain letters, numbers and the underscore.
Variable names CANNOT CONTAIN SPACES.
Variable names must be less than 50 characters.

Thanks,

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner