pulIMacro GetNumberOfParameters

Returns the number of parameters in the current macro.

Syntax

pulIMacro GetNumberOfParameters

Application

Tcl Query

Description

This command returns the number of parameters in the current macro.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
puts [macro GetNumberOfParameters]

Errors

Returns 3 = HW_InvalidHandle if there is an invalid macro handle.

Keywords

Macro

Tcl