Reply to Thread

Post a reply to the thread: Variable Initialization

Your Message

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

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 05-27-2006, 05:45 AM
    linder

    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?
  • 05-25-2006, 06:32 PM
    LoboMgr

    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?

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •