ChorusOS 4.0 Production Guide

Definition

This is used to declare a variable. The declaration is fully typed, and can be conditioned by a <condition> boolean expression. If the condition evaluates to 'false', the variable is not declared.

<definition>
  [ <description> ] [ <condition> ] type_content [{ expression | <value>* }]
Table 7-5 Attributes of Definition
 Attribute Description
 name: string Name of the variable to declare
 configurable: 'yes' or 'no' Default: 'no'. Specifies if the value of this variable can be changed with a configuration tool.
 visible: 'yes' or 'no' Default: 'no'. Specifies if this variable declaration must be visible in a configuration tool.
 global: 'yes' or 'no' Default: 'yes'. Specifies if this variable is scoped into the folder where it is declared.