[futurebasic] Re: [FB] Empty array resource

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2002 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Thu, 07 Nov 2002 08:55:03 +0100

Ken Shmidheiser wrote:
> I am attempting to build a DATA resource ID'ed 1001 to contain an array 
> for a spell checking project I've been working on. Somewhere I am going 
> wrong and I can't write the array to the resource.
> 
> Here is a brief overview of the code:
> 


Ken,

Dynamic arrays are not stored like regular arrays.
You must retrieve the handle pointing to the data.

theHandle = [@gArray&]

Then you can add the data in your resource file.
I think it is a bit more complex than that, because there is a header 
maintaining some information regarding the array.

Jay and I have worked together on such an example, but darn if I can 
put my hands on it at the moment. I continue searching and I'll repost.

-- 
Cheers,

A. Pastor