[futurebasic] Re: [FB] STR#

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: "Terrald J. Smith, M.D." <tjsmith@...>
Date: Fri, 07 May 1999 06:16:30 -0500
> That's because the "gRawData(0)" is a typo/bug. It should be gString1$(0)
- or in your case, DIAGNOSIS$(0).
> Bill

Bill, Yes...I knew that and already did the DIAGNOSIS$(0) thing.

I think Jay's issue about the DIM 49 DIAGNOSIS$( ) is the culprit instead of
the gRawData(0).  However, I don't think I can read/write the full array
with the speed issue I need.

> Second...
>   Maybe I'm confused, but I'm not sure I'm clear as to what this loop is
> doing. If you are writing full arrays to disk and reading them back in,
> there is no need to add length bytes, which seems to be all this loop
> does.
> Why not just read the file into DIAGNOSIS$(0) and be done with it?

Jay,  Because of some issues addressing an individual record instead of the
entire array, the file is not written to the disk as an array.  In this
situation, it is faster, easier, to write a small record back instead of a
full array over the network.

I will try the recommendations each and every time they are made....this
list is incredible.

Thanks, Terrald