Difference between revisions of "L2BIN()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to convert numeric to binary encoded string | Function to convert numeric to binary encoded string | ||
Line 12: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[BIN2I]], [[BIN2L]], [[BIN2W]], [[BINCLOSE()]], [[BINCREATE()]], [[BINOPEN()]], [[BINREAD()]], [[BINSEEK()]], [[BINWRITE()]], [[CREATE BRIDGE]], [[I2BIN]] | + | [[BIN2I()]], [[BIN2L()]], [[BIN2W()]], [[BINCLOSE()]], [[BINCREATE()]], [[BINOPEN()]], [[BINREAD()]], [[BINSEEK()]], [[BINWRITE()]], [[CREATE BRIDGE]], [[I2BIN()]] |
Line 27: | Line 23: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Expressions and Type Conversion]] | ||
+ | [[Category:Expressions and Type Conversion Functions]] |
Latest revision as of 16:51, 2 December 2009
Purpose
Function to convert numeric to binary encoded string
Syntax
L2BIN(<expN>)
See Also
BIN2I(), BIN2L(), BIN2W(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINSEEK(), BINWRITE(), CREATE BRIDGE, I2BIN()
Description
The L2BIN() function converts a numeric value into a binary encoded character string formatted as a signed 32-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() function, all binary conversion functions may be used in conjunction with the binary file functions.
Example
? bin2l(l2bin(98765)) 98765
Products
Recital Server, Recital