Difference between revisions of "BIN2W()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 29: | Line 29: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Expressions and Type Conversion]] | ||
+ | [[Category:Expressions and Type Conversion Functions]] |
Revision as of 13:53, 9 June 2009
Class
Expressions and Type Conversion
Purpose
Function to convert a binary encoded string to a numeric
Syntax
BIN2W(<expC>)
See Also
CREATE BRIDGE, BIN2I(), BIN2L(), I2BIN(), L2BIN(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINWRITE()
Description
The BIN2W() function converts a binary encoded string, formatted as a 16-bit long signed integer, into a numeric value. The <expC> is a string, two bytes in length, containing a binary numeric value
Example
nVar = bin2w(binVar)
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer