next up previous 623
Next: SCULIB_CONVOLVE - convolve array A with array B to give result in R
Up: Library APIs
Previous: SCULIB_COMPRESS_DEMOD - get demodulated data for a bolometer and coadd jiggles in each integration


SCULIB_CONSTRUCT_OUT - Append a identification string to a string

Description:
Appends an ID string to an input string given the contents of the environment variable specified by ENV_NAME Allowed values of ENV_NAME are stored in OPTIONS and the corresponding string stored in OPTION_STRINGS. Default is to go for the first entry in the IDSTRING array. if the value of ENV_NAME is either not set or unrecognized.

Invocation:
CALL SCULIB_CONSTRUCT_OUT(IN_STRING, ENV_NAME, N_OPTIONS, OPTIONS, OPTION_STRINGS, OUT_STRING, STATUS)

Arguments:

IN_STRING = CHAR (Given)
Input string
ENV_NAME = CHAR (Given)
Name of environment variable to examine for suffix preference
N_OPTIONS = INTEGER (Given)
Number of suffix options
OPTIONS(N_OPTIONS) = CHAR (Given)
Names of different options
OPTION_STRINGS(N_OPTIONS) = CHAR (Given)
Suffixes for each option. If the string starts with a '!' the input string is chopped from the last '_' before adding the new string.
OUT_STRING = CHAR (Returned)
Input string with suffix
STATUS = INTEGER (Given & Returned)
Global status

Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.


next up previous 623
Next: SCULIB_CONVOLVE - convolve array A with array B to give result in R
Up: Library APIs
Previous: SCULIB_COMPRESS_DEMOD - get demodulated data for a bolometer and coadd jiggles in each integration

SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2008 Science and Technology Facilities Council