|
You can put specs on other compiler directives, like /eject, /SPACE, and everyone's favorite - /EXEC SQL, so why not on /free? In fact, there are times when the %$#@ing precompiler gets confused if you don't have a C spec first before the /free. (Although I think a ptf has been issued for that.) Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Don Freeman" <DFreeman@xxxxxxxxxxxxxxx> Sent by: code400-l-bounces@xxxxxxxxxxxx 02/26/2003 01:24 PM Please respond to CODE/400 Discussion & Support To: "CODE/400 Discussion & Support" <code400-l@xxxxxxxxxxxx> cc: Fax to: Subject: RE: Comment bug I didn't see the "C" (pos 6 spec descriptor) in your original post. /Free is really a compiler directive and should not have anything in Position 6. Therefore CODE could not interpret the source correctly for color coding, and was probably just making a "best guess". > -----Original Message----- > From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx] > Sent: Wednesday, February 26, 2003 10:00 AM > To: CODE/400 Discussion & Support > Subject: RE: Comment bug > > > Craig figured out the 'work around' to the comment bug > If I change this: > C/free > if not OnFile(); > NotOnFile(); > EndIf; > Closing(); // free > *inlr = *on; > return; > /end-free > > To this: > /free > if not OnFile(); > NotOnFile(); > EndIf; > Closing(); // free > *inlr = *on; > return; > /end-free > The line with Closing on it is no longer all green. > > In case you didn't see that, I dropped the C on the /free. > > Rob Berendt > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety." > Benjamin Franklin > > > > > "Don Freeman" <DFreeman@xxxxxxxxxxxxxxx> > Sent by: code400-l-bounces@xxxxxxxxxxxx > 02/25/2003 05:14 PM > Please respond to CODE/400 Discussion & Support > > To: "CODE/400 Discussion & Support" > <code400-l@xxxxxxxxxxxx> > cc: > Fax to: > Subject: RE: Comment bug > > > I've copied and pasted your code exactly as you have it below > and I get > the correct color highlighting. > > > -----Original Message----- > > From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx] > > Sent: Tuesday, February 25, 2003 1:37 PM > > To: CODE/400 Discussion & Support > > Subject: Comment bug > > > > > > I believe that in /free the following is possible > > /free > > x=2+2; // show some simple math > > /end-free > > However CODE will mark the whole line as a comment (green) if > > there is a > > comment at the end. > > > > _______________________________________________ > This is the CODE/400 Discussion & Support (CODE400-L) mailing list > To post a message email: CODE400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/code400-l > or email: CODE400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/code400-l. > > NOTE: WDSc for iSeries disucssion has it's own mailing list. > Information can be found at > http://lists.midrange.com/cgi-bin/listinfo/wdsc-l > > > _______________________________________________ > This is the CODE/400 Discussion & Support (CODE400-L) mailing list > To post a message email: CODE400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/code400-l > or email: CODE400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/code400-l. > > NOTE: WDSc for iSeries disucssion has it's own mailing list. > Information can be found at > http://lists.midrange.com/cgi-bin/listinfo/wdsc-l > > _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/code400-l or email: CODE400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. NOTE: WDSc for iSeries disucssion has it's own mailing list. Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsc-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.