AddState

Description:              This function adds a new state to an existing module and returns its state value.

Warning:               This function may cause irrecoverable alteration of your application. It should be used only by advanced programmers.

Returns:                    State value

Usage:                       Script

Format:                      AddState(Module, Name, Reserved, Size)

Parameters:             Module   { Module }  { required }  { no default: }

                                                Module is any expression that returns a module value.

                                    Name   { text }  { required }  { no default: }

                                                Name is any text expression giving the name of the new state.

                                    Reserved    n/a

                                                reserved for future use (set to 0).

                                    Size   { numeric }  { required }  { no default: }

                                                Size is any numeric expression giving the length of the state definition text in characters.

Comments:               None

 

See Also:

AddOptional | AddStatement | AddVariable | FirstState