Difference between revisions of "BIN2I()"
From Lianjapedia
Helen.george (Talk | contribs) |
|||
Line 19: | Line 19: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Formatting Functions]] |
− | + | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] |
Latest revision as of 07:53, 4 February 2013
Contents
Purpose
Function to convert a binary encoded string to a numeric
Syntax
BIN2I(<expC>)
See Also
BIN2L(), BIN2W(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINSEEK(), BINWRITE(), I2BIN(), L2BIN()
Description
The BIN2I() function converts a binary encoded string, formatted as a 16-bit signed integer, into an integer. The <expC> is a string, two bytes in length, containing a binary numeric value. All binary conversion functions may be used in conjunction with the binary file functions.
Example
? bin2i(i2bin(987)) 987