[Gambas-user] Gambas reports "Frame1 already declared" at non-existent line number

ron ronstk at ...239...
Tue Apr 6 20:23:34 CEST 2004


On Tuesday 06 April 2004 14:20, neil lewis wrote:
> Hi All,
>
> I've been working on my project, LILi, using Gambas 0.90 for a few weeks
> and seem to be making progress.
> I just installed 0.92 and made a few changes to my code and now there's
> an odd error whenever I try to run the program.
>
> Gambas stops the run while syntax checking with the error "Frame1
> already delared at line 501 in LILi1.Class".
> Problem is, my program only has 468 lines, so I can't see how to resolve
> this.
> I tried renaming Frame1 to FrameBase, but the error message simply
> changes to the new name. The line number still shown as 501.
>
> I guess either this is a bug or the class file has been corrupted in
> some way. If the latter, is there an easy way to repair it?
>
> Neil Lewis.
>

This strange behavior I had also with another project.
I add a label and it had name Label15.
On the form was a label5 already.
On try to start I got  'Label5 already existing'
Line number was out range.
I do not know how I did but I got it right after many try and errors.

Reports of same experience by others it looks to me there is really a bug.
The USE module is not used so mismatch of the line numbers
can't in my case not the problem.

Ron




More information about the User mailing list