[futurebasic] Re: [FB] FBtoC Can't use constant as array index?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2010 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Sat, 30 Oct 2010 20:19:54 -0700
On Oct 30, 2010, at 8:12 PM, Robert Covington wrote:

> Seems one cannot use the following:
> 
> _MaxFolders = 120
> 
> Begin Record SomeRecord
> dim name as str255
> End Record
> 
> Dim SomeVar(_maxFolders) as SomeRecord


Cutting and pasting that into a new FB document window, it compiles clean.
Please share the error message received.

Brian S