XPJ and comment

Xbase++ 2.0 Build 554 or later
Post Reply
Message
Author
User avatar
slobodan1949
Posts: 82
Joined: Mon Apr 25, 2011 8:57 am
Location: SERBIA
Contact:

XPJ and comment

#1 Post by slobodan1949 »

Alaska Xbase++ 2.0
If you accidentally place a comment at the beginning of the XPJ file: /* BUG.XPJ */
the application cannot be compiled and an error message is reported:

Error BASE/2266;Description : Receiver of message is not an object.;Operation : getDefineCollection;Thread ID : 1
Called from STANDARDEH(69)
Called from (B)ERRORSYS(23)
Called from TREEFACTORY:GENROOTFROMLINES(137)
Called from TREEFACTORY:GENROOTFROMFILE(260)
Called from RUNPBUILD(86)
Called from MAIN(47)


(226x - Classes/Objects, Lifetime)

When you post a comment: // BUG.XPJ
everything works correctly. XPJ file does not accept comment with /* */
and the error message is completely incomprehensible and does not indicate where the error is.

User avatar
Tom
Posts: 1205
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: XPJ and comment

#2 Post by Tom »

So, don't do that. 8-)
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4775
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: XPJ and comment

#3 Post by rdonnay »

So, don't do that. 8-)
But accidents happen. :oops:
The eXpress train is coming - and it has more cars.

Post Reply