|
Yea, this bugged me too until I learned to ALT+S on those lines. Kyle On 11/16/06, Holden Tommy <Tommy.Holden@xxxxxxxxxxxxxxxxx> wrote:
<snip> But I think you mean that you did the IF and it added an ENDIF, then you went back to the IF line and pressed enter again, right? And it added another ENDIF, right? </snip> That's the main reason I disabled that function...it's more annoying to me than helpful, especially when modifying existing code. I think I can still type endif when I need it ;-) Thanks, Tommy Holden -----Original Message----- From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan Sent: Thursday, November 16, 2006 9:22 AM To: Websphere Development Studio Client for iSeries Subject: **SPAM** Re: [WDSCI-L] If - Endif I added a line with the IF, it dropped me to the next (new, blank) line and added an ENDIF after that. I entered a like on the new, blank line. I pressed enter, it didn't add another ENDIF. But I think you mean that you did the IF and it added an ENDIF, then you went back to the IF line and pressed enter again, right? And it added another ENDIF, right? Try going to the start of the new line and pressing enter. That should open a new, blank line. On 11/16/06, Turnidge, Dave <DTurnidge@xxxxxxxxxxxxxxxxxxxx> wrote: > > "added a line after the IF" > > Go to the end of the IF line and press enter. I get another endif. > > OR, did you "add another line" using some action other than the enter > key at the end of the IF line? > > -----Original Message----- > From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] > On Behalf Of Michael Ryan > Sent: Thursday, November 16, 2006 9:04 AM > To: Websphere Development Studio Client for iSeries > Subject: Re: [WDSCI-L] If - Endif > > Hmm...I don't use the automatic closure of a control block (I find it > annoying), but I believe it only adds an ENDIF if an IF is entered. I > just turned it on, did an IF, pressed enter and it put in an ENDIF. I > did another IF (same behavior), added a line after the IF and it didn't > add another ENDIF. > > On 11/16/06, Bill Barnes <bbarnes@xxxxxxxxxxxxx> wrote: > > > > This is just a suggestion. It is very nice to have the editor add the > > > ENDIF when you create an IF. It is annoying when you need to insert a > > > line after the IF and it creates another ENDIF. I assume that the > > same would happen with a DOW/DOU/FOR and SELECT. > > > > > > > > Thanks > > > > Bill Barnes > > > > The Pantry, Inc > > > > -- > > 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 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 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.
As an Amazon Associate we earn from qualifying purchases.
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.