next up previous contents index
Next: 9.1.2 Integer Counter Up: 9.1 Simple Data Types Previous: 9.1 Simple Data Types   Contents   Index

9.1.1 Boolean

The boolean data type is one of the simplest DCharts models. Its textual description is saved in file Boolean.des in the DataTypes/ subdirectory of SVM.


This model simulates a boolean data cell, whose value is either true or false. Macro INIT can be redefined in the command-line to give an initial value. By default, it is true.

The chg event inverts the value in the cell. The get event reveals its value to the user by dumping it out.

Thomas Huining Feng 2004-04-28