|
Scott, I do use this method. But I think the fancy feature in WDSC would be useful. Mainly because by actually commenting out the code, you get the benefits of the color syntax highlighting. But I'd only want the comment block feature if you can select a block and comment/uncomment. Charles Wilt -- iSeries Systems Administrator / Developer Mitsubishi Electric Automotive America ph: 513-573-4343 fax: 513-398-1121 > -----Original Message----- > From: wdsci-l-bounces@xxxxxxxxxxxx > [mailto:wdsci-l-bounces@xxxxxxxxxxxx]On Behalf Of Scott Klement > Sent: Tuesday, August 09, 2005 6:45 PM > To: Websphere Development Studio Client for iSeries > Subject: Re: [WDSCI-L] Commenting /free code? > > > > In some IDEs you can highlight a chunk of code and select > to comment it > > out. Is this functionality available in WDSCI 5? Just curious.....or > > lazy....or BOTH!! ;-) > > Why not use conditional compilation to disable the code instead of > commenting it out? That would make it a lot easier to > disable it, and a > lot easier to re-enable it later! (In fact, you could > disable/enable it > from the "Compile(Prompt)" screen of WDSC, or with one line > of code in the > program.) > > Seems to me that this is pretty much always a better option than > commenting it out, and since it doesn't require changing > every single line > of code, it saves the need for a fancy feature in WDSC. > > Worth considering, anyway... > -- > 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.