EasyManua.ls Logo

Commodore VIC-20 - Page 265

Commodore VIC-20
404 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter
8:
Peripheral Devices 251
section; if a longer routine
is
loaded into memory, either your variables or
part of the new program segment will be lost.
To load the next program segment from within a program, just end
your first segment with
LOAD "second program name",8
This will load and run the next segment.
Data
Files
Data files do not contain programs, so they cannot be loaded and run.
They contain data that must be loaded into memory by a program
or
entered
by you in immediate mode.
RECORDS
AND
FIELDS
The information in a
data
file can be broken up into records andfields.
This
is
determined by the program reading the data from the file. To better
understand this concept, consider a data file that contains a passenger's
flight information for a trip from New York to San Francisco and back.
XYZ AIRLINES June 7, 1982
JobnDoe
1234
Home
PIBee
Small Town, New Jene)'
FLIGHT
#303
LEAVES
JFK
Int'l
1:45
PM EST
ARRIVE SFO Int'l
4:28
PM PST
XYZ AIRLINES
June
9, 1982
Jobn
Doe
1134
Home
Pla.e
Small Town, New Joney
FL1GHTlniS
LEAVES SFO Int'l
9:15
AM
PST
ARRIVE
JFK
Int'l
4:45
PM
EST

Other manuals for Commodore VIC-20

Related product manuals