Previous Topic: KeywordsNext Topic: Flow Control


Parameter Evaluation

Parameters are introduced by a dollar sign. If dollar sign ($), is required in the text, you must use two $ signs in succession.

The name of the parameter follows the dollar sign in round brackets. The parameter name can be a predefined name (for example, $(ERROR)) or a freely defined name.

Before a command is executed, the parameter names contained in the command are replaced by the corresponding values. If the name does not exist in the list of variables, it is replaced with a blank string. Parameter substitution is also carried out within strings enclosed in quotation marks.