GFA

From: visitor
Date: 07/30/89-09:09:29 AM Z


From: visitor
Subject: GFA
Date: Sun Jul 30 09:09:29 1989


Could someone help me with a problem I've encountered while using
GFA Basic? I'm trying to write a small database and found that 
when a record is erased, it simply skips that field and goes on 
to the next. EX. Say I have an array called A(10). A(1)=1, A(2)=2,
A(3) is blank, A(4)=3, A(5)=4, A(6) is blank and A(7)=8.
How can I compact the file and rewrite it so that 
A1=1, A2=2, A3=4 A4=5 and A6=7. I hope I made myself clear on this.
Also, I'm not presently a member of this board so if I can't 
retrieve this message, please leave E-mail to 
Rick Ortman on the TAP board at 228-7335. Thanx

** Answered by DOUG WOKOUN (aa384) on Thu Mar 16 18:21:11 1989 **

One way that is a little
different to do this is to set up a
table or allocation map of a sort.

In order to access a record, it has
to be marked as available.  New data
would be added where the area was
marked deleted.  Sort of like how
a disk works.


-----------------------------------------
Return to message index