- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi all SAS Users,
Is there any shortcut or way to italicize or bold the words in the comment part of SAS. For example, I have a code as below
/*Cut a file to three small pieces
SAS4rum:How to cut a file to many small files ? https://cutt.ly/jlVejWX
3939186,7966392.. are last obs of a random company */
data keepvar_1999_2001_1;
set keepvar_1999_2001 (obs=3939186);
run;
In this code above, I want to highlight the word "SAS4rum", "3939186", "7966392" to let the comment part more eye-catching?
I am wondering is there any way to do that for the comment part, I did a search but the results so far saying that we can specify the font in the output parts but not the comment part (inside /* */).
Warm regards.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I should clarify. You can only tell sas to bold and/or italicize ALL comments, not just some comments. So it may not be what you want.
in EG go to tools/options/sas programs submenu, click on the Editor Options button, and select the appearance tab. In the "file elements" window select the "comments" item and modify the Font Style selection button.
In SAS display manager, use the tools/options/enhanced editor submenu, then choose the appearance tab.
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set
Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets
--------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Check the keyboard shortcuts in SAS EG. There are no editing options for bolding, italicizing, underlining or similar. No can do 😟
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You can actually bold or italicize complete comment statements, but not individual words.
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set
Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets
--------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Can I ask how to do it? Does it need any complicated code?
Warm regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I should clarify. You can only tell sas to bold and/or italicize ALL comments, not just some comments. So it may not be what you want.
in EG go to tools/options/sas programs submenu, click on the Editor Options button, and select the appearance tab. In the "file elements" window select the "comments" item and modify the Font Style selection button.
In SAS display manager, use the tools/options/enhanced editor submenu, then choose the appearance tab.
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set
Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets
--------------------------