Page tree
Skip to end of metadata
Go to start of metadata

getProgram(index)

Description

Function to retrieve the Program object of a program in the Program Table of the plug-in instance. Before calling this function you must access the Instance object with this.program.instance. The index corresponds to the number of the slot in the Program Table where the program is set. The function returns the Program object of the program with the specified index.

Available in: Controller.

Arguments

indexThe index of the slot in the Program Table where the program is set.number

Return Values

Returns the Program object of the program with the specified index.

Example

See Also: setProgram, Program

1 Comment