Did You Know?

Did You Know? »

SAS comments are represented in two ways:

**************************************************;
*Name runlst.sas                                 *;
* Version 1.0                                    *;
* Date  2011                                     *;
* Purpose:  CDM Listings                         *;
**************************************************;

OR this way /* This is my SAS Program */

You can comment out text in the Enhanced Editor in SAS by:

  • Position the cursor in, the line of code you wish to comment out, then press Ctrl + /.
  • If the text is already commented out (with /* and */), you can remove the commenting by highlighting, or positioning the cursor in the text and pressing Ctrl + Shift + /.
Advertisements