Post a reply to the thread: Variable Initialization
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Variable Initialization Hello, You can set it to 0, or "" or to any other value. The first variable declaration (Set Variable) always receives the variable value passed through the command line. So if you set it to -1 to initialize it and it is still -1 after the Set Variable declaration then it could mean that the command line did not pass the value to the variable. Does this help?
Re: Variable Initialization
Variable Initialization Do Variables need to be initialized to 0 or ""? If my own variable already has a non-zero or non-null value at script entry, is it reasonable to expect that it was set by a command line option?
Variable Initialization
Forum Rules