Difference between revisions of "BIN2L()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to convert a binary encoded string to a numeric | Function to convert a binary encoded string to a numeric | ||
− | |||
==Syntax== | ==Syntax== | ||
BIN2L(<expC>) | BIN2L(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
− | + | [[BIN2I()]], [[BIN2W()]], [[BINCLOSE()]], [[BINCREATE()]], [[BINOPEN()]], [[BINREAD()]], [[BINSEEK()]], [[BINWRITE()]], [[I2BIN()]], [[L2BIN()]] | |
− | + | ||
==Description== | ==Description== | ||
The BIN2L() function converts a binary encoded string, formatted as a 32-bit signed integer, into a numeric value. The <expC> is a string, four bytes in length, containing a binary numeric value. All the binary conversion functions may be used in conjunction with the binary file functions. | The BIN2L() function converts a binary encoded string, formatted as a 32-bit signed integer, into a numeric value. The <expC> is a string, four bytes in length, containing a binary numeric value. All the binary conversion functions may be used in conjunction with the binary file functions. | ||
− | |||
==Example== | ==Example== | ||
Line 21: | Line 17: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[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]] |
Revision as of 10:56, 9 February 2012
Contents
Purpose
Function to convert a binary encoded string to a numeric
Syntax
BIN2L(<expC>)
See Also
BIN2I(), BIN2W(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINSEEK(), BINWRITE(), I2BIN(), L2BIN()
Description
The BIN2L() function converts a binary encoded string, formatted as a 32-bit signed integer, into a numeric value. The <expC> is a string, four bytes in length, containing a binary numeric value. All the binary conversion functions may be used in conjunction with the binary file functions.
Example
? bin2l(l2bin(98765)) 98765