BookmarkSubscribeRSS Feed

How to add SAS syntax to your post

Started ‎09-08-2015 by
Modified ‎08-17-2022 by
Views 7,203

SAS users often share sample SAS code in their community posts. We love it when you share your examples, but we’ve heard that you don't like your SAS code to look plain and colorless. You’ve been asking for a way to add color to your artisan SAS programs, just like you would see in the SAS program editor.

 

Here's Lainie Hoverstad explaining a new feature that we've provided.  Watch to learn, or simply read on!

 

 

The SAS communities team heard you, and the new community NOW has a SAS syntax highlighter.  You can now share SAS code quickly and easily, complete with the exciting colors you’ve come to expect. Here’s how.

 

synhighlight_ex.png

 

When posting a new message to the community, look closely at the editor toolbar. You’ll see the familiar SAS running man icon that programmers know means “SAS program”. Click that button and box pops up. You can type or paste your SAS program in the box, then click OK to save it in your message.

 

Now, as you edit your message you won’t see the syntax coloring take effect. But don't worry!  When you click Post to share your message, your code will be there—highlights, formatting and all. Trust us!

 

synhighlight_ex2.png

Comments

Sorry I can not view at work.  Can these videos be posted directly to SAS.com.

Hi Experts  

Request to help me in writing SAS codes to group my data set into different bins for deriving the weight of evidence. 

Thanks 

Version history
Last update:
‎08-17-2022 08:50 AM
Updated by:

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Article Labels
Article Tags