Utility Routines

+-------------+                                               +----------##
| Geant 3.11  |               GEANT User's Guide              | BASE410  ##
+-------------+                                               +----------##
                                   

Author(s) : R.Brun Submitted: 08/08/87 Origin : Same Revised: 10/12/92

          +----------------------------------------------------+
          | CALL GLOOK (NAME,IVECT,N,ILOOK*) |
          +----------------------------------------------------+
                                  

NAME
(CHARACTER*4) variable containing the name to be searched for in IVECT.
IVECT
Array containing the ASCII code of the names among which NAME is searched. The names are stored 4 characters per word.
N
(INTEGER) number of items in IVECT.
ILOOK
(INTEGER) position in IVECT where NAME has been found, 0 otherwise.

This routine has similar functionality to the function IUCOMP in the CERN Program Library.