BSL supports many different intrinsic data types.
BSL supports several scalar data types:
- bool - true or false.
- int - 32-bit signed integer.
- uint - 32-bit unsigned integer.
- float - 32-bit floating point value.
A vector contains between one and four scalar components; every component of a vector must be of the same type.
||A single name that contains two parts. The first part is one of the scalar types. The second part is the number of components, which must be between 1 and 4 inclusive.|
||An ASCII string that uniquely identifies the variable name.|
A structure is a collection of its own data and functions. Here a list of built-in structures :
User defined enum¶
User can define enums ( interpreted by default as
This is how to declare an enum:
Typical use of an enum: