Cross posted in RPG and WDSC lists because it applies to both. Just for reference, IBM i 7.1 TR?, RDi 9.1.1.1.

So just by accident, due to fat fingers, I discovered that the following RPG code does not generate an error:


handle = ls_init(LSOA_COPY + + LSOA_BLOCK + LSOA_REPEAT);


Note the two + operators separated only by a space. What does that compile to? It is obvious to me that an operand is missing, but
the compiler happily creates something and goes on it's merry way. The LPEX source checker thinks it is ok as well!


Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.