Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!cc.newcastle.edu.au!c9037544 From: c9037544@cc.newcastle.edu.au (David Williams) Newsgroups: comp.sys.cbm Subject: Re: Reading SEQ files Message-ID: <9683.27d224a1@cc.newcastle.edu.au> Date: 4 Mar 91 00:42:41 GMT References: <13324@hubcap.clemson.edu> <1991Feb27.213545.18354@nntp-server.caltech.edu> <9678.27cd0f47@cc.newcastle.edu.au> <1991Mar03.070459.27936@ddsw1.MCS.COM> Organization: University of Newcastle Lines: 33 > | > The problem is, SEQ files can't be loaded like PRG files can. > > | Actually, it is possible. When using the SAVE and LOAD commands, just > | inserting a ,s before the end quote in the filename will specify a SEQ file > | rather than a PRG file. A USR file can be specified by using ,u. This could > | be used a small way of protecting your programs from others, perhaps. > > That can be done as long as the file contains program data. If the purpose > is to read the contents of a sequential file as text, loading "file,s" will > get it into memory but won't be a good way to read it! > And if you try to load it and list it, every PETSCII capital in the file will > get expanded into whatever BASIC keyword uses that value as its token. > What David Williams brought up can be done, but I don't think it's useful for > the original poster's intentions. > (I've responded in this thread to two other people who share my first name, > and their last initials are my first two initials. Curious.) Yes, you are completely correct - I did not look at the question properly, not having much time that day. There does seem to be a few David W's around, still, I happen to think that its a pretty good name to have, don't you agree?! What I would like to know though, is why it took so long for someone to respond to my posting - I am not saying this as I am vain, but to see if it because there is quite some time before a posting from Australia will get to the outside world? We recieve yours within only a short time of being posted. ------------------------------------------------------------------------------- | David Williams | University of Newcastle, Australia | | c9037544@cc.newcastle.edu.au | Computer Science student | | c9037544@jupiter.newcastle.edu.au | | |-----------------------------------------------------------------------------| | "The decision of Random Numbers is too important to be left to chance !" | -------------------------------------------------------------------------------