LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2001, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 19 Sep 2001 19:51:57 +0100
Reply-To:   John Whittington <John.W@MEDISCIENCE.CO.UK>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   John Whittington <John.W@MEDISCIENCE.CO.UK>
Subject:   Re: SAS Comments
Comments:   To: Ray Pass <raypass@ATT.NET>
In-Reply-To:   <E15jlgv-0000x2-00@relay1.netnames.net>
Content-Type:   text/plain; charset="us-ascii"; format=flowed

At 13:41 19/09/01 -0400, Ray Pass wrote (in part):

>John suggests a rare use, if at all, of /*...*/. I totally agree. David >suggests using the %MACRO SKIP; ... %MEND SKIP; method instead. Just >define the SKIP macro containing the code to be commented, and never call >the macro. Again, I agree.

... and I totally agree with that, too. However, as I've been pointing out, since it will be others, not oneself, who may be 'playing with' the code in future, using whatever method of 'commenting out' which takes their fancy, I stick to my 'commenting practice' (virtually never using /*...*/) , as mentioned above.

However, as Quentin and others have pointed out, the situation becomes more complicated when one is talking macros - and much more care is then needed even with *...; type of comments (e.g. with unmatched quotes) - a risk probably at its greatest, as Quentin said, if one subsequently decides 'to convert open code to a macro'.

Kind Regards,

John

---------------------------------------------------------------- Dr John Whittington, Voice: +44 (0) 1296 730225 Mediscience Services Fax: +44 (0) 1296 738893 Twyford Manor, Twyford, E-mail: John.W@mediscience.co.uk Buckingham MK18 4EL, UK mediscience@compuserve.com ----------------------------------------------------------------


Back to: Top of message | Previous page | Main SAS-L page