Difference between revisions of "BIN2W()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Expressions and Type Conversion
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to convert a binary encoded string to a numeric
 
Function to convert a binary encoded string to a numeric
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[CREATE BRIDGE]], [[BIN2I()]], [[BIN2L()]], [[I2BIN()]], [[L2BIN()]], [[BINCLOSE()]], [[BINCREATE()]], [[BINOPEN()]], [[BINREAD()]], [[BINWRITE()]]
+
[[BIN2I()]], [[BIN2L()]], [[BINCLOSE()]], [[BINCREATE()]], [[BINOPEN()]], [[BINREAD()]], [[BINWRITE()]], [[CREATE BRIDGE]], [[I2BIN()]], [[L2BIN()]]
  
  
Line 26: Line 22:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
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:08, 26 November 2009

Purpose

Function to convert a binary encoded string to a numeric


Syntax

BIN2W(<expC>)


See Also

BIN2I(), BIN2L(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINWRITE(), CREATE BRIDGE, I2BIN(), L2BIN()


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 Server, Recital