The Command_GetType() function retrieves the type of a specific command.
Command_GetType(command_tag)
• command_tag – The integer tag value for the command whose type is being retrieved.
An integer corresponding to one of the following constants:
Constant |
Description |
---|---|
COMMANDTYPE_NONE |
The specified command could not be found. |
COMMANDTYPE_SCRIPT |
The command runs a command script. |
COMMANDTYPE_FORM |
The command opens a form. |
COMMANDTYPE_CMDLIST |
The command is a command list. |
COMMANDTYPE_SEPARATOR |
The command is a separator. |