I'm on V6, so I don't know if this function still exists in V7, but under
Source I have an option to Show Indentation that shows the indented source
in a new window.


On Dec 31, 2007 2:21 PM, <vhamberg@xxxxxxxxxxx> wrote:

Jonathan

I'm at 7.0.0.4 and this function, which I really like, shows only the
start and end of the blocks - in other words, Else is not marked. Do you see
Else when you do this? Likewise, in a Select, I don't remember seeing the
When's marked.

Regards
Vern
-------------- Original message --------------
From: "Jonathan Lloyd, IS" <lloydj@xxxxxxxxxxxxxx>

Have you tried CTL-SHIFT-O (while positioned on the IF) to show block
nesting?

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Robert Rogerson
Sent: Monday, December 31, 2007 12:23 PM
To: Websphere Development Studio Client for iSeries
Subject: [WDSCI-L] If - Else - Endif advise

If I have the following:



If (condition)

100 lines of code

Else

100 lines of code

Endif



If I use CTL-M on the IF then the entire IF block if selected until the
ENDIF.

In the situation I'm looking at the IF condition will never be met so I
want
to remove the IF code but not the ELSE code.

Currently I'm using Source Indent to find the associated ELSE.



Does anyone know of a better way?



And by the way, Happy New Year,



Robert A. Rogerson



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

__________________________________________

This message, including any attachments, may contain confidential
information.
This message and its attachments, if any, are intended only for the
individual
named. If you are not the named addressee you should not disseminate,
distribute
or copy this e-mail. Please notify the sender immediately by e-mail if
you have
received this e-mail by mistake and delete this e-mail from your system.
E-mail
transmission cannot be guaranteed to be secured or error-free as
information
could be intercepted, corrupted, lost, destroyed, received late or
incomplete,
or could contain viruses. The sender therefore does not accept liability
for any
error or omission in the contents of this message, which arises as a
result of
e-mail transmission.
--
This is the Websphere Development Studio Client for iSeries (WDSCI-L)
mailing
list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
--
This is the Websphere Development Studio Client for iSeries (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


This thread ...

Replies:

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

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