*menupointerset()
Sets the initial value of a pointer.
Syntax
*menupointerset (pointer number, pointer, value)
Type
HyperMesh Card Previewer Command
Inputs
- pointer number
- A value from pointer1 to pointer20 indicating which of the 20 possible pointers should be set to the value parameter.
- pointer
- The pointer to the data object to be accessed. Only certain data types may user pointers. These are described in the template commands where they are valid.
- value
- The value of the counter.
Example
For example, to display all the dependent node IDs on a rigid link element, the following commands could be used while in a rigid link card description:
*beginrepeat(dependentnodesmax)
*repeatcounter(1)
*menupointerset(pointer1,dependentnodes,[counter1 - 1])
*menufield(dnod,integer,pointer1.pointervalue,8)
*endrepeat()
Unlike the *pointerset() command that sets a global value for the entire output section of the template, the *menupointerset() command's value is only for the local scope of an entity as specified by the *beginmenu()and *endmenu() commands.