Command_GetType()

Examples


The Command_GetType() function retrieves the type of a specific command.

Syntax

Command_GetType(command_tag)

Parameters

command_tag – The integer tag value for the command whose type is being retrieved.

Return value

An integer corresponding to one of the following constants:

[spacer]

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.



Documentation Feedback