AT&T 6300 Programmer's Manual page 222

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

CVI, CVS, CVD
Functions
Converts string values to numeric values.
Syntax 1
Syntax 2
Syntax 3
Remarks
Example
7-66
CVI( 2-byte-string )
CVS( 4-byte-string )
CVD( 8-byte-string )
Numeric values that are read in from a
random file buffer must be converted from
strings back into numbers.
CVI converts a "2-byte-string" to an
integer.
CVS converts a "4-byte-string" to a single
precision number.
CVD converts an "8-byte-string" to a double
precision number.
See also "MKI$, MKS$, MKD$" functions,
later in this chapter.
70 FIELD
#1,4 AS NI,
12
AS BI
80 GET
#1
90 Y
=
CVS(NI)

Advertisement

Table of Contents
loading

Table of Contents