[futurebasic] Re: [FB] [FB^3] Compiler Error

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2000 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Tue, 26 Sep 2000 16:09:20 -0500
>I've been reconstructing my project after my little stuffup moving Globals
>into the various fltrs & incls, and I've run into a compiler error that I
>can't solve.
>
>The error is:
>
>Error: Internal critical error: PushLevel went Negative!
>in file ladder.¼:FILE.INCL at line 686 in CLOSEFILE
>**def LONGBLOCKFILL(gSMGblk&, _SharedModuleRecSz, _nil)
>'~'
>
>'~200,0,FILE.INCL
>'~200,1,686
>
>Error: Missing End ')' Fix it...
>in file ladder.¼:FILE.INCL at line 686 in CLOSEFILE
>*def LONGBLOCKFILL(gSMGblk&, *_SharedModuleRecSz, _nil)
>'~'
>********* End of PPC Code Compile *********
>************* End of Compile **************
>  Warnings: 0
>    Errors: 2
>
>I get the error in both 68k & ppc compiles
>
>I'm using Release 3
>
>Any ideas about what I should be looking for ??
>
>If I remark out the loffending line the compiler seems to be happy
>
>tia
>
>Pete...


Generally, the error happens before the line that you see. At some 
previous line, the compiler probably thought that it could correctly 
interpret your code and then you found out later, from this error 
message, that it could not.

We need to figure out what is going wrong before you get to this 
point. The line that you have provided works well when removed from 
your application.


A side note: I don't know how you dimensioned gSMGblk& but make sure 
that it is not supposed to be used in this LONGBLOCKFILL context as 
@gSMGblk&. :)



Best,

-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...