Difference between revisions of "I2BIN()"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Helengeorge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to convert numeric to binary encoded character string | Function to convert numeric to binary encoded character string | ||
Line 27: | Line 25: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Expressions and Type Conversion]] | [[Category:Expressions and Type Conversion]] | ||
[[Category:Expressions and Type Conversion Functions]] | [[Category:Expressions and Type Conversion Functions]] |
Latest revision as of 16:26, 2 December 2009
Purpose
Function to convert numeric to binary encoded character string
Syntax
I2BIN(<expN>)
See Also
BIN2I(), BIN2L(), BIN2W(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINSEEK(), BINWRITE(), CREATE BRIDGE, L2BIN()
Description
The I2BIN() function converts a numeric value into a binary encoded character string formatted as an unsigned 16-bit integer. The <expN> is any numeric value. Any decimal places are ignored.
This function can be used to construct composite index keys of mixed data types in OpenVMS RMS files. With the exception of the BIN2W(), all binary conversion functions may be used in conjunction with the binary file access functions.
Example
? bin2i(i2bin(987)) 987
Products
Recital Server, Recital