GLBasic forum

Main forum => Bug Reports => Topic started by: bigsofty on 2010-Mar-04

Title: ?ENDIF + Remark ERROR
Post by: bigsofty on 2010-Mar-04
To get the bug...

Code (glbasic) Select
?ENDIF //<- This remark causes the following problem.

Code (glbasic) Select
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.6.873 SN:2a049f7b - 3D, NET
"controls.gbas"(0) error : IF without ENDIF / THEN


To remove the bug...

Code (glbasic) Select
?ENDIF

...remove the remark.

This was an incredible pain to find as it always reported that the problem was with an ordinary 'IF/THEN/ENDIF' at line 0, no matter where the problem was.
Title: Re: ?ENDIF + Remark ERROR
Post by: Kitty Hello on 2010-Jun-01
OK, fixed in next update.