× 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.



Yup - get exactly the same results as you - but wouldn't this be expected with the missing ENDIF?

If I add the (missing) 3rd ENDIF, everything appears fine.

Brian.

On 26/02/2018 21:18, Charles Wilt wrote:
The lines on the side get confused...

Best I can do without a picture...(sent offlist)

Copy & paste the code into a new member and select "show block nesting" on
the BEGSR...

The select block and jump to block end fail when used on the first IF...

Charles

On Mon, Feb 26, 2018 at 2:15 PM, Brian Parkins <goodprophet.bp@xxxxxxxxx>
wrote:

Can you be a little more precise, Charles? What's not working - Show Block
Nesting for the entire subroutine, or one of the nested IF's?

(If I position on the BEGSR, then Show Block Nesting works just fine for
me; it even highlights the missing ENDIF. The Select Block and Jump also
work OK. RDi 9.6.0.1.)

Brian.

On 26/02/2018 20:20, Charles Wilt wrote:

Found an issue with the "show block nesting" and also "select block" and
"jump to block end".

It's not handling blocks like so..

exsr huh;
*inlr = *on;
return;

C huh begsr
C if 0 = 0
/IF NOT DEFINED(WEB)
C IF 1 =1
//doing greeen screen
/ELSEIF DEFINED(WEB)
C IF 2 = 2
// something special
/ENDIF
//do something
C ENDIF
C endif
C endsr

Is this a known issue, or should I open a PMR?

Thanks!
Charles


--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.