AddState
| Description: | 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 Only. |
| Function Groups: | Compilation and Online Modifications, States |
| Related to: | AddOptional | AddStatement | AddVariable | FirstState |
Format: ![]() |
AddState(Module, Name, Reserved, Size) |
| Parameters: |
| Module |
| Required. Any expression that returns a module value. |
| Name |
| Required. Any text expression giving the name of the new state. |
| Reserved |
| Reserved for future use. Should be set to 0. |
| Size |
| Required. Any numeric expression giving the length of the state definition text, measured in characters. |
| Comments: | None |
