CAU

- The Model Railway
- - Software
- - - libRailControl
- - - - Constants/Functions
- - - - - Constants
- - - - - Initialisation
- - - - - Block Sections
- - - - - Points
- - - - - Signals
- - - - - Relay
- - - - - Velocity Meters
- - - - - Station Lighting
- - - - - Handling

Constants

enginecarcar
The following system constants are defined as pre-processor macros:

MINBLOCK Minimum block section number
MAXBLOCK Maximum block section number
MINPOINT Minimum point number
MAXPOINT Maximum point number
MINSIGNAL Minimum signal number
MAXSIGNAL Maximum signal number
MINSPEED Minimum speed value
MAXSPEED Maximum speed value
FAILURE Function return value signalling a runtime error
SUCCESS Function return value signalling successful execution

The values of the above system constants are not displayed here since they may be subject to change in the future. An application programmer should never rely on a system constant to have a specific value. Nevertheless, it is guaranteed that all values in between MINBLOCK and MAXBLOCK are legal block section identifiers and the number of block sections equals MAXBLOCK-MINBLOCK+1.


Clemens Grelck
generated on: Mon May 31 10:19:52 MET DST 1999