Returns the index of the current object in its parent object.
[ lIndex = ] Object.Index
The Index property syntax has the following parts:
Name |
Type |
Description |
Object |
AProgram |
AProgram object |
lIndex |
Long |
An integer specifying the index of the current object in its parent object. |
The default value is 0.
The following statement stops running the current program and starts execution at the beginning of the next program.
Run App.Programs(Program.Index+1)