VMS Help  —  RTL Routines, LIB$  LIB$CVT xTB 64
    (Alpha and I64 only.) The Convert Numeric Text to Binary
    routines return a binary representation of the ASCII text string
    representation of a decimal, hexadecimal, or octal number.

    Format

      LIB$CVT_DTB_64  byte-count ,numeric-string ,result

      LIB$CVT_HTB_64  byte-count ,numeric-string ,result

      LIB$CVT_OTB_64  byte-count ,numeric-string ,result

1  –  Returns

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

2  –  Arguments

 byte-count

    OpenVMS usage:longword_signed
    type:         longword integer (signed)
    access:       read only
    mechanism:    by value

    Byte count of the input ASCII text string. The byte-count
    argument is a signed longword integer containing the byte count
    of the input string.

 numeric-string

    OpenVMS usage:char_string
    type:         character string
    access:       read only
    mechanism:    by reference

    ASCII text string representation of a decimal, hexadecimal,
    or octal number that LIB$CVT_xTB_64 converts to binary
    representation. The numeric-string argument is the address of
    a character string containing this input string to be converted.

    LIB$CVT_xTB_64 allows only an optional plus (+) or minus (-) sign
    followed by a string of decimal, hexadecimal, or octal characters
    appropriate to the routine being called.

 result

    OpenVMS usage:quadword_signed
    type:         quadword integer (signed)
    access:       write only
    mechanism:    by reference

    Binary representation of the input string. The result argument is
    the address of a signed quadword integer containing the converted
    string.
Close Help