Article # 347, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
I get the "open conditional" error in Borland C.
Q. I have the following code fragment in my global.goh and I get a Goc error saying "Open conditional...". @extern object @SomeObject; @ifdef ZOOMER @extern object @AnotherObject; @endif @extern object @MyOtherObject; A. The problem there is Goc doesn't like it when the @ifdef and @endif are not against the left margin. Fix it be bringing the @ifdef and @endif to the very left side of the document. For example: @extern object @SomeObject; @ifdef ZOOMER @extern object @AnotherObject; @endif @extern object @MyOtherObject;