Instead of taking the time to make an additional document you can copy text from the editor or the log and paste directly into a code box opened using the forum's {I} or "running man" icon to preserve content and to set that apart from the main message text.
Example from a log:
111 data need;
112 set work.count(where=(not missing(age)))
113 work.count(where=(missing(age)))
114 ;
115 retain cumcount cumperc;
116 cumcount= sum(cumcount, count);
117 cumperc = sum(cumperc, percent);
118 run;
NOTE: There were 6 observations read from the data set WORK.COUNT.
WHERE not MISSING(age);
NOTE: There were 1 observations read from the data set WORK.COUNT.
WHERE MISSING(age);
NOTE: The data set USER.NEED has 7 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.04 seconds
cpu time 0.00 seconds
If someone has a comment or suggestion based on my log they can COPY the text, paste and make edits or highlights in another message window. That is not generally possible with PDF. Code pasted into word processor documents often gets reformatted introducing characters that cause code to fail. The code boxes won't do that (unless copied from a source already corrupted).
... View more