Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!occrsh!erc3ba!alu From: alu@erc3ba.UUCP Newsgroups: comp.sys.ibm.pc,comp.sys.att Subject: Turbo Basic Question Message-ID: <348@erc3ba.UUCP> Date: Wed, 16-Sep-87 12:11:56 EDT Article-I.D.: erc3ba.348 Posted: Wed Sep 16 12:11:56 1987 Date-Received: Sat, 19-Sep-87 06:59:11 EDT Organization: AT&T Engineering Research Center Lines: 27 Keywords: random access files Xref: utgpu comp.sys.ibm.pc:6884 comp.sys.att:1079 I am writing a Turbo Basic application that reads a couple of random-access files that are created by PC-File. The program gets the information fine the first time it's run, and every time after it seems to start at the last record. I reset, cleared, and used every other command I could find that would initialize pointers and stuff. (My programming is admittedly rusty, and my TBasic is still on a steep learning curve.) The standalone EXE file will also run fine the first time and not read at all the second time. Only if I invoke a new DOS COMMAND.COM does it work. In Interpretive BASIC (GWBASIC) everything seems to work OK. Running on an AT&T 6300PLUS, 1 meg memory. OK, net-gurus- what's up? As always, thanks in advance. -Alan. -- Alan Lustiger |_ ' | AT&T Engineering Research Center / |( Princeton, NJ {AT&T Machines}!pruxc!alu