|
D SUCCESSFUL c const(*on)
D proc1 pr n
C eval *inlr = *on
*------------------------------------------------------
* test return with not SUCCESSFUL
P proc1 B
D pi n
C return not SUCCESSFUL
P proc1 E
I'm getting this:
Msg id Sv Number Seq Message text
RNF7421 30 12 001200 Operands are not compatible with the type of
operator.
If I changed SUCCESSFUL to be a variable, it compile ok. Any reason
why I can't do "return not constBoolean"?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.