BIN2L()

From Recital Documentation Wiki
Revision as of 10:22, 24 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Expressions and Type Conversion


Purpose

Function to convert a binary encoded string to a numeric


Syntax

BIN2L(<expC>)


See Also

CREATE BRIDGE, 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


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer