User:Audi/BlogEntry: 2007 July 24 09:21:00 EDT

From sasCommunity

Jump to: navigation, search

[edit] Type less, code more!

Be more productive writing codes by typing less. Consider the following macro:

  %macro rdisplay(remote);
     %local connectopts;
     %if %nrbquote(&remote) NE %then
        %let connectopts = &connectopts REMOTE=&remote;
     RDISPLAY &connectopts;
  %mend rdisplay;

With IntelliSense, you can write lines 3 to 5 without too much typing. For instance, consider typing the following:

  &connectopts
  With IntelliSense: &c (and hit the Space bar)
  (that's typing 2 chars instead of 12!)

or this:

  %nrbquote(&remote)
  With IntelliSense: %nr(&r)
  (that's typing 7 chars instead of 18!)


With lots of codes to write (macros especially), I can't imagine life without IntelliSense.

Personal tools