create_state, enter_state, exit_state — are part of the SCADALisp exception-driven state machine mechanism.
create_state (state_function, symbol?...) enter_state (state_machine, state) exit_state (state_machine, state)
The function to call upon entering this state.
One or more symbols which will act as triggers to cause this state to be re-evaluated.
A state machine created through a call to (new StateMachine)
A state created through a call to (create-state...)
create_state: The new state definition.
enter_state: A status value.
exit_state: A status value.
These functions are part of the exception-driven state machine mechanism built into SCADALisp. This mechanism is not fully supported, and will not be documented for this release. The reader may find the library file StateMachine.lsp helpful in determining how to use state machines. In general, this function should not be called directly from user code, as it is designed to provide support for the StateMachine library functions.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.