Visit Atarimax Store


Free-Net Logo
The Atari SIG Historical Archive
Created and hosted by: atarimax.com
[ HOME | GO ATARI | 8-BIT | ST/TT | PORTFOLIO | LYNX | JAGUAR | LIBRARY ]


Article #44 (419 is last):
Newsgroups: freenet.sci.comp.atari.questions
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 bNNNe 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 NNcan
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.
NN-------------------------------
Would you now like to:
    t - Type out (Re-read) this message
    s - Read next unread message on same Subject
    n - Read the next unread message
    b - Back up - read the previous message
    f - Post reply to this message
    r - Reply via E-Mail to author of this message
    d - Delete this message, if you are the author
    RETURN - Go back to the list of headers
Enter Command: N



Visit Atarimax Store