[Gambas-user] Help getting error I cant find why

Benoit Minisini gambas at ...1...
Thu Apr 10 09:15:31 CEST 2008


On mercredi 9 avril 2008, Rob wrote:
> On Wednesday 09 April 2008 15:46, jbskaggs wrote:
> > This class has nearly 10000 lines when all of the items
> > are present.
>
> As for this possible limitation of Gambas, I just created a class
> which was nothing but 26,000 PRINT statements in a _new sub (about
> 1.4MB of source in one file), and instantiating that class whether
> inside or outside of the Gambas IDE caused a SIGSEGV before the
> 9,763rd PRINT statement.  So something's going on there.
>
> Rob
>

I have patched the 2.x in revision #1303, so that the compiler now detect its 
hard limits and raise errors if too many constants, functions, symbols... are 
used.

Regards,

-- 
Benoit Minisini




More information about the User mailing list