Text Files

From: ac365
Date: 07/30/89-09:02:54 AM Z


From: ac365
Subject: Text Files
Date: Sun Jul 30 09:02:54 1989




I would like to load an ATARIWRITER
text file into a BASIC program which
I wrote. The program takes care of
displaying it an the like. Is there
a simple routine which can be used
to ENTER or SHOVE IN THERE a text
file into BASIC without a VARIABLE?

(Don'T tell me GET!)
[please explain in detail, my DOS
manual is really bad]

** Answered by DOUG WOKOUN (aa384) on Tue Sep 20 06:00:21 1988 **

Unless you're switching to another
machine, the use of a variable in 
loading text is quite necessary.
You could use machine language to
load a byte off the disk (get) and
place it on the screen (put), but
it's still the same concept.  Turbo
BASIC has a command BGET that can
be used to load a series of bytes
into a memory location and not a
variable, which could be screen
memory. 

BGET #n,addr,len

is the systax for this command.
Other than that, GET is all Atari
BASIC offers unless you use INPUT
which, of course, uses variables.
                          Doug Wokoun
                          Atari SysOp           THANKS for asking.


-----------------------------------------
Return to message index