TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: JIM TANNER
from: GARY MAJOR
date: 1995-03-10 14:33:00
subject: files

 >> I am writing a prgram which requires that I change the
 >> contents of the random access file. What i am having
 >> problems with is changing one of the fields.
 > I think something like this should work:
 > GET #1,RecNum%,Record
 > Record.FieldToChange = "New information"
 > PUT #1,RecNum%,Record
 > FLUSH 1    '{ if you want to leave file open
 > CLOSE #1   '{ if you want to close file
Thats what i have, it changes the individual field, but it also resets all of 
the other fields to a nul string.
I do not have a clue what I am doing wrong.
--- FMail/386 0.98a
---------------
* Origin: The Adult Information Network (1:224/35)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.