[Gambas-user] odd gbc behavior
Benoit Minisini
gambas at ...1...
Tue Jan 20 23:59:41 CET 2004
On Tuesday 20 January 2004 16:01, Rob wrote:
> Hmm! I had three lines with just a period at the beginning to
> indicate separation, and sf.net terminated my message at the
> first one. The period on a line thing is the SMTP code for "end
> of transmission" so maybe kmail doesn't properly escape it.
> Anyway....
>
> I had the following code in my project:
>
> PUBLIC cdproc AS NEW Collection
> ...
> for i = 1 to 4
> cdproc.add(i, NEW Process)
> next
>
> As you might expect, it didn't work, but instead of throwing an
> error, I just started noticing after a while that none of the
> changes I was making to the code had any effect. Finally I did
> a "compile all" and then the next time I ran it I got "The
> program exited with error code 1". Dropping to the command line
> revealed that gbc was crapping out with "** INTERNAL ERROR **"
> on an "expression starting with NEW". It didn't list a line
> number so it took me a while to figure out which NEW it meant,
> but commenting that line out made everything return to normal.
>
> Rob
>
OK. I fixed it. There is an error message now.
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list