HELPLIB.HLB  —  RTL Routines, SMG$  SMG$GET_NUMERIC_DATA
    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

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

2  –  Arguments

 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 OpenVMS, $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.
Close Help