This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Convert string bytes into corresponding numeric data.
Syntax
n = CVL(String_Expression [, OffSet])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
String_Expression |
String |
No |
Any string expression |
OffSet |
Number |
Yes |
Indicate at what position inside String_Expression to start conversion |
Remarks
The CVx functions return a number corresponding to a binary pattern stored in a string value.
Function Bytes from string Numeric expression
CVBYT 1-byte string Byte
CVCUR 8-byte string Currency
CVCUX 8-byte string Extended-currency
CVD 8-byte string Double-precision
CVDWD 4-byte string Double-word
CVE 10-byte string Extended-precision
CVNumber 10-byte string Extended-precision
CVI 2-byte string Integer
CVL 4-byte string Long-integer
CVQ 8-byte string Quad-integer
CVS 4-byte string Single-precision
CVWRD 2-byte string Word
Restrictions
See also
CVBYT, CVCUR, CVCUX, CVD, CVDWD, CVE, CVI, CVL, CVQ, CVS, CVWRD
Examples