Next: GRP_REMOV - Remove all occurrences of a given name from a group
Up: Routine Descriptions
Previous: GRP_PUT - Put a given set of literal names into a group
GRP_PUT1
- Put a single name into a group
- Description:
- The given name is stored in the group in the form in which it is
supplied (including any control characters). It overwrites
any previous name stored at the specified index. The name can be
appended to the end of the group by giving INDEX a value of zero
or one greater than the current size of the group. An error is
reported if the name is added beyond the end of the group (i.e.
if adding the name would result in a gap within the group for
which no names would be defined).
- Invocation:
- CALL GRP_PUT1( IGRP, NAME, INDEX, STATUS )
- Arguments:
-
-
IGRP = INTEGER (Given)
-
A GRP identifier for the group.
-
NAME = CHARACTER
(
) (Given)
-
The name to be stored in the group.
-
INDEX = INTEGER (Given)
-
The index at which to store the name. A value of zero
causes the names to be appended to the end of the group.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
Next: GRP_REMOV - Remove all occurrences of a given name from a group
Up: Routine Descriptions
Previous: GRP_PUT - Put a given set of literal names into a group
GRP Routines for Managing Groups of Objects
Starlink User Note 150
D.S. Berry
21st October 2009
E-mail:ussc@star.rl.ac.uk
Copyright © 2009 Science and Technology Facilities Council