[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
CVS Convert String to Single Precision
y! = CVS(4-byte-string)
Converts a four-byte string expression to a single-precision numeric
variable.
-------------------------------------------------------------------------
Notes: Because of the way Turbo Basic stores numbers in random
access files, numbers have to be converted to strings
before they can be written to disk; when read from the
disk, they must be reconverted from strings to numbers.
A single-precision real number must be converted to a
string (via MKS$) before being stored in a random access
file. To retrieve such a number, first assign it to a file
buffer field (with GET), then use CVS.
See Also:
CVD
CVI
CVL
GET (File I/O)
MKD$
MKI$
MKL$
MKS$
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson