You may have just started a new offspring of the thread. Consider your
original statement with one addition:
IF A > B
DISPLAY "A > B"
IF A > C
DISPLAY "IF NO ELSE STMT"
END-IF
ELSE
IF A = B
DISPLAY "A = B"
ELSE
DISPLAY "A < B"
END-IF
END-IF.
The first END-IF is required otherwise the first ELSE would fall under the
"IF A > C". Thus the need for a scope terminator for IF.
There is no such requirement for INSPECT.
Curt
>
> IF A > B
> DISPLAY "A > B"
> ELSE
> IF A = B
> DISPLAY "A = B"
> ELSE
> DISPLAY "A < B"
> END-IF
> END-IF.
>
> is the same as
>
> IF A > B
> DISPLAY "A > B"
> ELSE
> IF A = B
> DISPLAY "A = B"
> ELSE
> DISPLAY "A < B".
>
> The END-IF scope terminator is not required for this
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *