XPJ and comment
Posted: Mon Nov 11, 2024 9:18 am
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.
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.