#: 3299 S2/Tutorials 05-May-90 18:42:05 Sb: #AR09.BIN Fm: EDWARD J DONOVAN 70635,106 To: WAYNE DAY SYSOP (X) TO WAYNE DAY PLEASE ! CAN YOU HELP ME GET AR09.BIN GOING. AS OF NOW, WHEN I PUT IN A COMMAND LINE TO DECOMPRESS A FILE IT SAYS IT CAN'T FIND THE FILE,AN AND THE FILE IS ON THE SAME DISK. There is 1 Reply. #: 3301 S2/Tutorials 05-May-90 22:43:08 Sb: #3299-AR09.BIN Fm: Kevin Darling (UG Pres) 76703,4227 To: EDWARD J DONOVAN 70635,106 (X) Hi Ed - first, rename "ar09.bin" to just "ar", and either place it in your CMDS directory or load it into memory.... AFTER first doing an "attr ar e pe" to make the ar command executable/loadable. Once you have Ar in memory, CHD to the disk and directory where you wish the extracted files to go (make sure enough room there). Now the file you're about to extract from MUST have the extension ".ar" on its name. So if you downloaded a file called "test", rename it to "test.ar". All that's left is to type "ar -x test.ar" and the files inside will be extracted to your current data dir (which you CHD'd to above). "test" can be anywhere, so you could for example "chd /d1" and "ar -x /d0/test.ar" to make the test file on d0 extract to the disk in d1. Clear as mud? . - kev #: 5056 S2/Tutorials 11-Jul-90 00:00:02 Sb: #programmin in basic09 Fm: DAVID DE FEO 71630,721 To: all Hi, I need help from one of you programming gurus(of which I hope to be one...someday). I'm learning basic09. The big question I have is why would I ever want to use a sequential access file over a random access file. Random access files are faster (since there is no ascii conversion when "put"ting or "get"ting data. Also, you can find the position of any record easily with the seek/size commands while putting data anywhere you specify. Please don't let me look toooooo dumb :-). Dave There are 2 Replies. #: 5058 S2/Tutorials 11-Jul-90 05:07:32 Sb: #5056-programmin in basic09 Fm: James Jones 76257,562 To: DAVID DE FEO 71630,721 Depends. If records aren't of fixed length, it might be necessary to read a file sequentially. On the other hand, there may be various pieces of index/pointer stuff in a file such that it isn't straightforward to read it sequentially. Also, some applications require reading every record, so you might as well read it sequentially (and sequential access is more predictable, so that any caching scheme is more likely to help you out with sequential access). Quite a few files can be read either way. Not a very specific answer, but it depends enough on the application that I can't give a very specific answer. Time to snarf yourself a reference work on data structures and file organization. #: 5083 S2/Tutorials 11-Jul-90 15:09:30 Sb: #5056-programmin in basic09 Fm: Kevin Darling (UG Pres) 76703,4227 To: DAVID DE FEO 71630,721 Hi David, If you meant database files, then yup, a random access file makes more sense by far. And as you said, the size/seek/get/put commands can be combined in very powerful ways. You'll still use sequential files for writing out reports, etc tho. best - kev #: 5100 S2/Tutorials 12-Jul-90 00:14:36 Sb: #5058-#programmin in basic09 Fm: DAVID DE FEO 71630,721 To: James Jones 76257,562 (X) James, thanks for your input...so basically, for a database file random access would be best since the records are of fixed length. However, if you are writing text, its easier to use sequential access files since the pointer is always pointed to the next new byte. Then printing it out, you would just put the pointer at the beginning and it will read through the file. With the random access, I can get any record I specify which is in an array. Did I get this right?? Thanks again..Dave. There is 1 Reply. #: 5106 S2/Tutorials 12-Jul-90 04:51:59 Sb: #5100-#programmin in basic09 Fm: James Jones 76257,562 To: DAVID DE FEO 71630,721 (X) You got it right. Also, there are applications that always require grinding through the whole file that one might as well do sequentially, the primordial example being the archetypal COBOL payroll program. (Maybe the archetypal COBOL program, period. ) There is 1 Reply. #: 5114 S2/Tutorials 12-Jul-90 16:16:19 Sb: #5106-programmin in basic09 Fm: DAVID DE FEO 71630,721 To: James Jones 76257,562 (X) James..gotcha...Dave PS. Thanks!! #: 5101 S2/Tutorials 12-Jul-90 00:19:41 Sb: #5083-#programmin in basic09 Fm: DAVID DE FEO 71630,721 To: Kevin Darling (UG Pres) 76703,4227 (X) Kev, Thanks, you're always bailing me out of trouble!! Remember the guy who fried his system trying to get tthe irq interrupt fix done...yup, thats me. Anyway, thank you, cause I'm now up and running at 2400 on Wizpro with Sterm included. Um...back to the files...I think I've got the idea...if possible see what I replied to James Jones. Did I get the drift?? Thanks much!!! Dave There is 1 Reply. #: 5102 S2/Tutorials 12-Jul-90 02:04:35 Sb: #5101-#programmin in basic09 Fm: Kevin Darling (UG Pres) 76703,4227 To: DAVID DE FEO 71630,721 (X) Dave, looks to me like you know what you're talking about, yup. Glad to hear you and Wizpro are working together! There is 1 Reply. #: 5113 S2/Tutorials 12-Jul-90 16:13:52 Sb: #5102-programmin in basic09 Fm: DAVID DE FEO 71630,721 To: Kevin Darling (UG Pres) 76703,4227 (X) Kev...thanks...Dave #: 8389 S2/Tutorials 24-Nov-90 00:20:22 Sb: #Help Fm: The Rev. Wayne C. Paul 76477,142 To: [F] Mike Ward 76703,2013 (X) I am looking for a file that Bill Henderson 72215,341 said should be in dl5. It is called MRENAME. He mentions it in MOREMV.TXT There is 1 Reply. #: 8412 S2/Tutorials 25-Nov-90 16:03:44 Sb: #8389-Help Fm: Mike Ward 76703,2013 To: The Rev. Wayne C. Paul 76477,142 It'll be in Lib 5 in just a few minutes. It was purged many moons ago but was archived offline. The filename in Lib 5 will be "MRNAME.AR"