The failing code was different, but similar in structure... it is now working (for some reason), guess it was a glitch. Robert On Oct 30, 2010, at 11:48 PM, Brian S wrote: > I don’t know how to assist without more information. The code you > supplied works here ( and I expected it to work and it has always > worked AFAIK ), so the next step is to supply a code sample that > fails and post the error message from FB5( either compiler or FB > error log ). There must be another factor since the sample code > posted works. > > > > > On Oct 30, 2010, at 8:40 PM, Robert Covington wrote: > >> It said that array variables must be an integer. >> >> On Oct 30, 2010, at 11:19 PM, Brian S wrote: >> >>> >>> 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 >>> >>> -- >>> To unsubscribe, send ANY message to: futurebasic- >>> unsubscribe@... >>> >> >> -- >> To unsubscribe, send ANY message to: futurebasic- >> unsubscribe@... >> > > Brian S > > -- > To unsubscribe, send ANY message to: futurebasic- > unsubscribe@... >