| Date: | Fri, 15 Feb 2008 15:33:20 -0600 |
| Reply-To: | matt.pettis@THOMSON.COM |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Matt Pettis <matt.pettis@THOMSON.COM> |
| Subject: | Re: Survey: Who uses keyboard abbreviations |
|
| In-Reply-To: | <200802152128.m1FHTwkT019017@mailgw.cc.uga.edu> |
| Content-Type: | text/plain; charset="us-ascii" |
Thanks Art!
This is what I am wondering about... I use the snippets I included
because it 1.) saves typing and 2.) does have my most common options
set. I often slightly modify them once they have been substituted in,
but usually not that far off what is in the main template. The 'gpl'
example is the one I use most -- saves recoding an scrounging through an
old code file to finde a close example. I was wondering how other
people were using this facility, if at all.
Thanks again,
Matt
-----Original Message-----
From: Arthur Tabachneck [mailto:art297@NETSCAPE.NET]
Sent: Friday, February 15, 2008 3:29 PM
To: SAS-L@LISTSERV.UGA.EDU; Pettis, Matthew (TOC TGTI)
Subject: Re: Survey: Who uses keyboard abbreviations
Matt,
I have found keyboard abbreviations to be invaluable but, for the most
part, more what they can provide than as a way to reduce keystrokes.
That is, when one is continually adding examples of many import and
export types, statistical and graphic procedures, macro templates, etc.,
the abbreviations themselves become less important (and impossible to
remember) than simply having a handy reference of sets of code that
already have the desired options set.
And, since the abbreviations can also be accessed by clicking on tools
-> Keyboard Macros -> Macros from the main menu, that has turned into my
principal abbreviation access mode.
In case any birdies are listening, I would like to see SAS incorporate a
search mechanism within the list of macros/abbreviations. Since one can
also store a description, as well as the desired abbreviation, such a
search capability could end up being quite powerful.
Art
----------
On Fri, 15 Feb 2008 13:14:01 -0500, Matt Pettis
<matt.pettis@THOMSON.COM>
wrote:
>Hi,
>
>I've been training some people at work and decided to give them the
keyboard
>abbreviations I use to speed up my programming and train them on it. I
was
>curious how many other people take advantage of this SAS GUI option
>and,
if
>they do, what abbreviations they use.
>
>A few of the abbreviation I use frequently in my code and what they
resolve
>to follows...
>
>
>abbreviation: comm
>used for: comments that break the code into sections.
>text substitution:
>
>/*--------------------------------------------------------------------*
>\
>
>\*--------------------------------------------------------------------*
>/
>
>
>
>
>abbreviation: sum
>used for: getting a 'proc summary' skeleton to work with.
>text substitution:
>
>proc summary data=work nway missing;
> class ;
> var ;
> output out=temp(drop=_:) sum=;
> run;
>
>
>
>
>abbreviation: gpl
>used for: getting a 'proc glplot' skeleton that I most often use.
>text substitution:
>
>goptions reset=symbol reset=axis reset=legend; proc gplot data=temp;
> symbol1
> i=j
> w=2
> ;
> axis1
> value=(a=90 r=0)
> ;
> axis2
> label=(a=90 r=0)
> ;
> legend1
> label=('Legend')
> ;
> plot /
> haxis=axis1
> vaxis=axis2
> vzero
> legend=legend1
> overlay
> ;
> run;
> quit;
|