× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Wilbert van der Hoeven wrote:

It only seems that way

            /free
                 Dow *on;
.................................................................
    RNF7423 A relational expression or indicator is expected for
            logical operations.

Wilbert


Technically, figurative constants like *ON are allowed only when there is a corresponding operand, in which case the value of the figurative constant depends on the attributes of the corresponding operand. For example, let's say you have an EVAL statement, "X=*ON;", and X is defined as 5A. In this context, *ON has a value of '11111'. Within expressions, there are only a few places where there is a clear corresponding operand: assignment is one, comparison another.


I suppose you could argue that in a relational statement like DOW or IF, the corresponding operand is an implicit indicator variable. And personally, I wouldn't disagree with such an argument. But since there are lots of other ways to express an infinite loop, we don't see changing this as a major priority.

Cheers! Hans



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.