[futurebasic] Re: [FB] FB5.4.7 error

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

From: Brian S <fblistserve@...>
Date: Thu, 14 Oct 2010 12:46:19 -0700
Thanks Steve.  I made an assumption for the ‘loop’ var type:
'---------------
dim as Str255   g_field_label (122,110 ), text_data
dim as int      g_listfield ( 50, 202 )
dim as int      g_active_report_tab : g_active_report_tab = 0
dim as int      loop : loop = 1

text_data = g_field_label( g_listfield (g_active_report_tab, loop), g_active_report_tab)
'---------------

The above compiles clean in 5.4.7. Are there other compile errors confusing the issue? 

Brian S.


On Oct 14, 2010, at 11:54 AM, Steve wrote:

> 
> dim text_data as str255
> dim g_field_label (122,110 ) as str255
> dim g_listfield ( 50, 202 ) as int
> dim g_active_report_tab as int
> 
> On Oct 14, 2010, at 2:46 PM, Brian S wrote:
> 
>> 
>> On Oct 14, 2010, at 8:49 AM, Steve wrote:
>> 
>>> Error: •• FBtoC internal error in line 1608 of listwindow.incl: expression too long (2)
>>> 1608:  text_data = g_field_label( g_listfield (g_active_report_tab, loop), g_active_report_tab)
>> 
>> 
>> Steve,
>> 
>> I haven’t tried to reproduce this yet but in case it is necessary ( to reproduce the issue ), would you post the declarations ( i.e. dims ) for the array and the variables in that statement.
>> 
>> Thanks…
>> Brian S
>> 
>> --
>> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>> 
> 
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>