i want to write a comment to the log and i want to use an apostrophe in my comment. below is a sample code illuminating the issue. the first %put statement using double quotes as a work around but the comment in the log will have the double quotes and this maybe undesirable. the second %put statement fails and causes problems going forward in the code for the third %put statement because it is interpreted a using single quotes and thus is expecting a closing single quote. is there a way to use an apostrophe in this situation and have it be ignored as a single quotes string initiator? code sample: %let x=5;
%let date_today=&sysdate;
%put "today's date is: &date_today and &sysdate.";
%put today's date is: &date_today and &sysdate.;
%put my number x is: &x.;
... View more