paul@osu-dbs.UUCP (09/08/83)
How about an atari (I can see the flames) It has a REAL operating system. (can your apple open devices in a normal way?) I think that I like 10 OPEN #1, 4, 0, "D:FOO.TXT" better than 10 PRINT "^DOPEN FOO.TXT" thank you. Further you can't 20 OPEN #2, 4, 0, "K:" to read single characters off the keyboard, you have to PEEK. Paul Placeway (cbosgd!osu-dbs!paul)
CSvax:Pucc-H:Pucc-I:ags@pur-ee.UUCP (09/15/83)
The Apple, too, has a REAL operating system. It most certainly can open
devices in a NORMAL way. I like
reset(filea,'WORK:FOO.TEXT')
MUCH better than the Atari's
10 OPEN #1, 4, 0, "D:FOO.TXT"
Note, for example, that volumes have real names like "WORK:" or "GRAPHIX:"
or "LIB:" or "SRC.A:".
Further, for reading single characters I much prefer
read(filea,c)
(what could possibly be more natural than THAT?) over such rigmarole as
20 OPEN #", 4, 0, "K:"
or whatever the magic formula was on the Atari.
In case you haven't figured it out, of course, the Apple's REAL operating
system is Apple Pascal.
Dave Seaman
Purdue User Services
pur-ee!Pucc-I:agsjed@mb2c.UUCP (John E. Duncan) (09/28/83)
Actually on my Apple I open files a little different --
if(!fd=fopen("FILE", "r")) {
fprintf(stderr, "Unable to open FILE\n");
exit(0);
}
As you may have guessed I am running AZTEC C with their version of
a shell for an operating system. (Anybody want to bench it against
PASCAL??!)
John Duncan (mb2c!jed) Michigan Bell (313) 424-0178