[futurebasic] Re: [FB] FBToC bug?

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

From: Brian Stevens <bstevens33@...>
Date: Thu, 28 May 2009 08:06:51 -0700
On May 28, 2009, at 3:48 AM, Robert Covington wrote:

>
>
> 1, Def Fn DoSomething(int,int)
>
> Gives "Redefined parameter" error on the second 'int'. Might be a  
> feature.
>
> Def Fn DoSomething(var as int , othervar as int)  passes inspection.
Yep, AFAIK var names need to be unique in *any* function header  
whether that is def fn or local fn xxxx ( a as SInt16, b as SInt16   
etc. )

>
>
> 2. In other news, I am getting the attached message (pdf) right now,  
> not sure when or where. Johnny 5 need more info
That is an internal error in the translator( and not the compiler )  
while it is populating lexemes into a table. Maybe the line number  
will provide a clue where it fails. Often there is a prior failure  
that needs to be fixed and the AddToSymbolTable_Priv just falls over  
( in this case with input of a null lexeme ) as a result of the prior  
issue. It is virtually impossible to debug without the source code  
being fed to FB5.

>
> Am at file #60 out of 110 though before I am getting a translation  
> error now. (was at #19 earlier)
Good progress. Keep in mind that this process is really a code cleanup  
issue and don't try to go too quickly. Cleaning up the code correctly  
will save you much grief later.

> Yo, I went outside the other day and somebody had painted T,L,B,R  
> all over my Geo : My car was completely Rect! ;)
RC is definitely back!

Brian S.