Technoleros

Observations from hacking around with all kinds of hardware and software

  • Home
  • Downloads
RSS

Quickly Comment and Uncomment SAS Code

Posted on June 24, 2009 by Fred Janssen
No commentsLeave a comment

SAS Institute Inc.

I attended SAS Programming 3: Advanced Techniques and Efficiencies training recently at the SAS’ Austin Training Center.  Programming 3 demonstrates many ways to make your SAS code and programs more efficient, but I also picked up one tidbit that makes coding and testing even easier.  When using the enhanced editor, to create comments in your code or comment out code you do not want to run, merely highlight or select the block or statements to comment with your mouse.  Now type the CTRL-/ key combination and your SAS code will include the required /* and the beginning and */ at the end of each selected line.  To uncomment a block or code or statement, highlight or select it and type the CTRL-Shift-/ key combination.  I did notice that if I select only one word on a line or merely have my cursor positioned anywhere within my code that the key combination will operate on the entire line which contains the highlighted word or cursor.  The quick commenting technique only works in the Windows version of the enhanced editor.  It will not work in the standard SAS program editor or on non-windows systems.

Be Sociable, Share!
  • Tweet
Categories: Business Intelligence, Data, Software, Statistics | Tags: enhanced editor, SAS
Notice: This work is licensed under a BY-NC-SA. Permalink: Quickly Comment and Uncomment SAS Code
ActiveX Graphs not Active in SAS Information Delivery Portal when Viewed with Internet Explorer
Version 2.7.3.0 of the Garmin Communicator Plugin Available

Leave a Reply Cancel reply

You must be logged in to post a comment.

  • Categories

    Biking Business Intelligence Data Downloads GIS GPS Hardware Maps Media Outdoors PDA Smartphone Software Statistics Technology Twitter Uncategorized Web

  • Tags

    analysis ArcGIS ArcPad ArcView attributes Austin BaseCamp browser Communicator coordinates elevation Enterprise Guide ESRI extension firmware Garmin geocaching geography geotagging Google GPS health hot fix Junction kml Maps MapSource mobile NOAA OLAP projection registry routes SAS satellite scripts toolbox topography tracks transfer utility waypoints Web Report Studio Webupdater Windows
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Recommended Links

    • Ed Bott’s Windows Expertise
    • Engadget
    • Free Geography Tools
    • Geocaching
    • Hardware 2.0
    • Lifehacker
    • MapMyRide
    • sasCommunity.org
    • the SAS BI-ogsource
    • Trails.com
  • Recent Tweets...

    • SAS Global Forum registration now OPEN! - http://t.co/6JjZXcth 2011-11-13
    • Flash is dead. Long live HTML5. http://t.co/sgKYHr0Y 2011-11-10
    • How to create multiple LSF users - http://t.co/va4rbPcv #SAS 2011-11-04
    • Adding WRS to Portal in #SAS 9.2 / 9.3 - http://t.co/pYU9gdYv 2011-11-04
    • CSR announces SiRFstarV chipset - http://t.co/D3fAgsPa 2011-11-04
    • Kinect for Windows is Confirmed for 2012- http://t.co/sVGZhexJ 2011-11-04
    • Using Windows PowerShell to report on your #SAS Enterprise Guide project files - http://t.co/kitxR3Ic 2011-11-04
    • New #SAS Job Site - http://t.co/IkcxaTm9 2011-11-04
    • How To Install Windows 8 From A USB Flash Drive - http://t.co/10A8dF4u 2011-11-04
    • GarageBand 1.1 available for iPhone and iPod touch users - http://t.co/7211B6EJ 2011-11-04
    • More updates...

    Posting tweet...

© Technoleros. Proudly Powered by WordPress | Nest Theme by YChong