[futurebasic] Re: Re: [FB] STR#

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

From: BMichael@...
Date: Fri, 7 May 1999 03:18:05 EDT
>> LOCAL FN readfilerecord
>>   DIM arraySize&
>>   OPEN "I", 1, gFileName$,,gSaveVolum%
>>   INPUT #1, gVersion$
>>   arraySize& = @gLast%(0) - @gFirst%(0)
>>   READ FILE #1, @gRawData(0),arraySize&
>>   CLOSE #1
>> END FN
>>
>> This is liberally hacked from a much bigger routine, so it may have typos
>> or bugs...
<snip>
>Can^1t figure a way to use Bill^1s Read File #1,@gRawData(0),arraySize&
>suggestion.

That's because the "gRawData(0)" is a typo/bug. It should be gString1$(0) 
- or in your case, DIAGNOSIS$(0).

<sigh>

Bill