zoidberg
Newbie level 1
Hey,
in trying to implement a generic procedure which has the ability to modify the current state.
it looks like procedure(FSM_NEXT_STATE, NEW_STATE)
the problem is the encoding and the type.
Im trying an approach to convert the state into an integer , change that value and convert back to the state type. It this a useful way?
how does procedure with a generic enumeration parameter has to look? I know how it looks with a specific unconstrained vector. But not if the type is unknown. Is this possible?
thanks
Bernhard
in trying to implement a generic procedure which has the ability to modify the current state.
it looks like procedure(FSM_NEXT_STATE, NEW_STATE)
the problem is the encoding and the type.
Im trying an approach to convert the state into an integer , change that value and convert back to the state type. It this a useful way?
how does procedure with a generic enumeration parameter has to look? I know how it looks with a specific unconstrained vector. But not if the type is unknown. Is this possible?
thanks
Bernhard