Basic
CVS(4-byte string)
Converts a 4-byte string to a single precision number. Use to restore
data to numeric form after it is read from the disk.
A!=CVS(TOTAL$) S=CVS(DOLLR$)
DATA
constant [,constant,
..
.]
Stores numeric and string constants to be accessed by a READ state-
ment. String constants containing delimiters, such as leading or trail-
ing blanks, colons, or commas, must be enclosed in quotation marks
when used in DATA statements.
DATA NEW YORK, CHICAGO, LOS ANGELES
DATE$[
=
string]
Sets the date or retrieves the current date.
String
is
a literal, enclosed in quotation marks, that sets the date
by assigning its value to DATE$. Month may be any number 01-12,
day may be 01-31, and year may be 01-99 or 1980-2099. If you omit
string,
BASIC retrieves the current date.
D AT E
$='I0
4
/
1
7
/
8
5
Io
TODAY$= DATE$
DEFDBL
letter [,letter,
...I
Defines any variables beginning with
letter(s)
as double precision
variables.
DEFDBL A DEFDBL
J-0
DEFINT
letter [,letter,
...I
Defines any variables beginning with
letter(s)
as integer variables.
DEFINT L DEFINT A-G
26
Tandy
1000