Article ID: 10052
INFO: Values of Uninitialized or Unknown variables in scripts
INFO
Applies To: ITScriptNet V1/V2
What is the value of an unknown or uninitialized variable in a script?
DETAILS

Attempting to retrieve the value of an uninitialized User Defined (@) variable, or an undefined Prompt ($) or Lookup (#) variable will return the variable name.

For example, if a script references a variable named @VarName@ and this variable has not had a value assigned to it, the value will be "@VarName@".

Note: This behavior only applies to uninitialized User Defined variables or undefined Prompt or Lookup variables. Prompt or Lookup variables which are defined but have not been collected yet return an empty string.

This behavior is by design.

This article last updated: 1/1/2009 12:00:00 AM
Please help us improve the Knowledge Base by rating this article.
    © 1997-2026 Z-Space Technologies - a BCA Innovations Company - All rights reserved