VMS Help
RTL Routines, LIB$, LIB$CVT xTB
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
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 byte-count ,numeric-string ,result
LIB$CVT_HTB byte-count ,numeric-string ,result
LIB$CVT_OTB byte-count ,numeric-string ,result
OpenVMS usage:cond_value
type: longword (unsigned)
access: write only
mechanism: by value
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 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 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:longword_signed
type: longword integer (signed)
access: write only
mechanism: by reference
Binary representation of the input string. The result argument is
the address of a signed longword integer containing the converted
string.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.