next up previous 225
Next: CAT_PPTSt - Create a parameter, simultaneously setting some of its attributes
Up: Detailed subroutine specifications
Previous: CAT_PNEW0 - Create a scalar part (column or parameter)


CAT_PPTA$<$t$>$ - Create a parameter, simultaneously setting all its attributes

Description:
Create a parameter, simultaneously setting all its attributes.

Note that the data type attribute can be deduced from the type of the routine. However the CHARACTER size attribute must still be passed.

Invocation:
CALL CAT_PPTA$<$t$>$ (CI, QNAME, CSIZE, DIMS, SIZEA, UNITS, EXTFMT, PRFDSP, COMM, VALUE; QI; STATUS)
Arguments:
CI = INTEGER (Given)
Catalogue identifier.
QNAME = CHARACTER$*$($*$) (Given)
Name of the parameter.
CSIZE = INTEGER (Given)
Size of a CHARACTER parameter. If the parameter is not of type CHARACTER CSIZE is irrelevant; it is conventional to set it to zero.
DIMS = INTEGER (Given)
Dimensionality of the parameter. Currently the only permitted value is CAT__SCALR, corresponding to a scalar.
SIZEA(1) = INTEGER (Given)
For vector parameters this attribute would be set to the number of elements in the vector. However, currently only scalar parameters are supported and it should be set to one.
UNITS = CHARACTER$*$($*$) (Given)
The units of the parameter.
EXTFMT = CHARACTER$*$($*$) (Given)
The external format for the parameter.
PRFDSP = LOGICAL (Given)
The preferential display flag for the parameter: .TRUE. - display the parameter by default, .FALSE. - do not display the parameter by default.
COMM = CHARACTER$*$($*$) (Given)
Comments about the parameter.
VALUE = $<$type$>$ (Given)
Value for the parameter.
QI = INTEGER (Returned)
Identifier for the parameter.
STATUS = INTEGER (Given and Returned)
The global status.
Copyright
Copyright (C) 1999 Central Laboratory of the Research Councils
Bugs:
None known


next up previous 225
Next: CAT_PPTSt - Create a parameter, simultaneously setting some of its attributes
Up: Detailed subroutine specifications
Previous: CAT_PNEW0 - Create a scalar part (column or parameter)

CAT [1ex
Starlink User Note 181
A.C. Davenhall
4th April 2001
E-mail:ussc@star.rl.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils