1
% @(#)show_desc.hlq 19.1 (ESO-IPG) 02/25/03 14:03:45
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, SHOW/DESCRIPTOR
7
%.PURPOSE On-line help file for the command: SHOW/DESCRIPTOR
8
%.VERSION 1.0 13-APR-1984 : Creation, KB
9
%.VERSION 1.1 04-JUN-1991 : Update, KB
10
%.VERSION 1.2 05-DEC-1991 : Add 3rd par., KB
11
%----------------------------------------------------------------
15
SHOW/DESCR 20-JUL-1998 KB
17
SHOW/DESCR frame [descr_list] [flag]
18
show existing descriptors with name, type and size
21
Display name, type and size of descriptors of given frame.
24
SHOW/DESCR frame [descr_list] [flag]
28
descr_list = descriptor name(s) or pattern(s) separated by a comma,
30
or `*' to display all descriptors,
32
or patternA|patternB (character `|' as used for OR in C or the
33
pipe symbol in Unix) to display all descriptors with names
34
matching patternA but not patternB,
36
or 'name.ascii' if ASCII file `name.ascii' contains the
37
descriptors to be read (file type .ascii is required);
39
defaulted to '*', i.e. all descriptors of frame
41
flag = H(idden) if you only want descr. info in keyword OUTPUTI (see
44
defaulted to N(ohidden)
47
READ/DESCR, PRINT/DESCR, WRITE/DESCR, DELETE/DESCR, WRITE/DHELP
50
For patterns there are the following possibilities:
52
`abc*' => all descr. beginning with `abc' match
54
`*abc' => all descr. ending with `abc' match
56
`*abc*' => all descr. containing `abc' match
58
`abc*def' => all descr. beginning with `abc' and ending with `def'
61
If help text is available for a descriptor it is also displayed,
62
otherwise the string (...) is output.
64
If descr_list is set to a specific descr. name (not '*' or a pattern),
65
also the elements 1,2,3,4 of integer keyword OUTPUTI are filled:
67
OUTPUTI(1) = 1 or 0, if descr. exists or not.
69
If OUTPUTI(1) is 1, then (2) = descr. type (1,2,3 or 4 for integer,
70
real, character or double descr);
72
(3) and (4) hold no. of elements and bytes per element of descr.
74
This information can then be used in a procedure.
79
Show all the descriptors of frame `durazno.bdf'.
82
Show all the descriptors of table file `pera.tbl'.
84
Note, that we have to specify the full file name if it is not an
87
SHOW/DESC pina eso*rms
88
Show type and size of all hierarchical ESO descriptors of frame
89
`pina.bdf' ending with `rms', e.g. ESO.GEN.AMBI.TEMPRMS.
91
SHOW/DESCR pina ESO.*|*.det.*
92
Show type and size of all hierarchical ESO keywords of `pina.bdf'
93
except those with names containing the string `DET', e.g. descr.
94
ESO.DET.CHIP1.PSZX would not be shown.
96
SHOW/DESC manzana BugsBunny
97
Show type and size of descriptor BugsBunny of frame `manzana.bdf'
98
if it exists. The keyword OUTPUTI will be set accordingly. Also,
99
display any help text if it exists.