Description:
This
routine takes a string and returns the filename (ie text before a {) and the data specifications. Each
specification is indicated by a {}. More than one spec can be returned. If the string contains a ’!’ then
we will use the invers of the specified section.
Invocation
CALL SCULIB_SPLIT_FILE_SPEC( NAME,
MAX_SPEC, FILENAME, NSPEC, DATA_SPEC, STATUS)
Arguments
NAME = CHAR (Given)
Input
string
MAX_SPEC = INTEGER (Given)
Max number of specifications allowed
FILENAME
= CHAR (Returned)
The name of the file (text before first spec)
NSPEC = INTEGER
(Returned)
Number of specs found/returned (can be 0)
DATA_SPEC(NSPEC) = CHAR
(Returned)
The actual specification for the SCUBA section
USE_SECTION = LOGICAL
(Returned)
Set to true by default and false if a ’-’ is found at the end of the section (ie
after last closing brace) – a ’-’ indicates that we are using the inverse of the section.
STATUS = INTEGER (Given and Returned)
Global Status value
Copyright
Copyright
©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.