VMS Help
RTL Routines, SMG$, SMG$GET_NUMERIC_DATA
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
The Get Numeric Terminal Data routine accesses TERMTABLE.EXE and
returns the value associated with a specified Boolean or numeric
capability.
Format
SMG$GET_NUMERIC_DATA termtable-address ,request-code
,buffer-address
OpenVMS usage:cond_value
type: longword (unsigned)
access: write only
mechanism: by value
termtable-address
OpenVMS usage:address
type: longword (unsigned)
access: read only
mechanism: by reference
Specifies the address of the TERMTABLE entry for the desired
terminal. The termtable-address argument is the address of an
unsigned longword that contains the address of the terminal
capabilities table (TERMTABLE).
Before calling SMG$GET_NUMERIC_DATA, you must obtain this
terminal table address by calling either SMG$INIT_TERM_TABLE
or SMG$INIT_TERM_TABLE_BY_TYPE.
request-code
OpenVMS usage:longword_unsigned
type: longword (unsigned)
access: read only
mechanism: by reference
Request code that specifies the desired capability. The request-
code argument is an unsigned longword constant containing this
request code. The request code is of the form SMG$K_code, where
code corresponds to a keyword in the terminal capabilities table
(TERMTABLE), for example, ANSI_CRT. The SMG$K_code constants can
be found in the library supplied by Compaq, $SMGTRMPTR.
buffer-address
OpenVMS usage:address
type: longword (unsigned)
access: write only
mechanism: by reference
Address of the first byte of the longword to which SMG$GET_
NUMERIC_DATA writes the numeric capability data. The buffer-
address argument is an unsigned longword that contains the
address of this buffer.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.