Boolean Parameter
Boolean or logical parameters are used when a parameter is restricted to one of the values true, false or unknown - i.e. when the answer to a question is to be either Yes, No or Unknown. By default ESTA automatically generates a listbox corresponding to the values: true, false and unknown. Because of the special use of the value unknown and because in some boolean expressions the unknown value is not appropriate, it is possible to declare a listbox where unknown is omitted. This kind of listbox declaration can be done in an options field attached to a category parameter.
The syntax for a boolean parameter is:
<boolean parameter> ::=
type boolean
[<rules field (with boolean expressions)>]
[<question field>]
[<picture field>]
Examples
parameter gasoline_ok : 'there is gasoline in your car'
type boolean
explanation 'Turn on the ignition and look at the fuel gauge'
question 'Is there any gasoline in your car ?'
picture 'gasoline'
The parameter gasoline_ok will look like this in a dialog:
{bml BOOL_PAR.BMP}
parameter wet_weather 'the weather is wet'
type boolean
explanation 'It has been raining within the last few days or it is foggy'
question 'Is the weather wet ?'
The parameter wet_weather will look like this in a dialog:
{bml BOOLPAR2.BMP}