Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CVI, CVL, CVS, CVD, and CVC Functions
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
CVI(2-byte-string) ║ CVS(4-byte-string) ║ CVC(8-byte-string)
CVL(4-byte-string) ║ CVD(8-byte-string) ║
■ CVI, CVL, CVS, CVD, and CVC are used with a FIELD statement to read
numbers from a random-access file. The functions take strings
defined in a FIELD statement and convert them to a value of the
corresponding numeric type.
Returns
CVI returns an integer.
CVL returns a long integer.
CVS returns a single-precision number.
CVD returns a double-precision number.
CVC returns a currency number.
See Also ◄MKI$, MKL$, MKS$, MKD$, MKC$► ◄CVSMBF, CVDMBF► ◄GET (File I/O)►