[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sas-l
Subject:    Re: Keyboard shortcut (Windows) to comment out a block of code
From:       Roger DeAngelis <rogerjdeangelis () GMAIL ! COM>
Date:       2016-08-25 13:56:22
Message-ID: CAOUdXL-XYV2_-s7ofAUsTZKhY4MFjdkr1JjQDEfggtYf0oQn3Q () mail ! gmail ! com
[Download RAW message or body]

Just another note

In the old text editor, all of SAS is available with command macros,
function keys or mouse actions.

One of the differences between the link with all those EE key settings is
that I can program what I want on 'CNTL L' or
place it on a function key. EE Keyboard macros do alleviate this, but I
don't think you can do much programming on pasted text.

However there appear to be more key settings than I have function keys, but
I always have command macros.

It might be interesting if SAS would list all the legacy
functions-procedures-sas scripting capabilities that are removed
with each new interface or upgrade. Put the enhancements somewhere else.

It also might be interesting if SAS did a survey and asked programmers how
they would feel if SAS
removed stored processors, removed the EG interface and forced all users to
migrate to SAS Studio.

On Thu, Aug 25, 2016 at 9:18 AM, Roger DeAngelis <rogerjdeangelis@gmail.com>
wrote:

> Hi Team
>
>  One of the issues I have with most of the new editor functions is the
> failure to transfer settings when SAS is upgraded.
>
>  Since all my function keys, windows settings, command macros and mouse
> linkage is saved in my profile. They automatically
> work when I new version of SAS is installed.
>
> With EG I have always had to recreate my settings, could be an issue with
> our IT.
>
> Also command macros are function keys are just SAS text and I can edit
> them.
>
> With EG I have always had to recreate my settings.
>
> The 'funny keyboard macro catalogs do not appear to be saved easily in my
> autocall library as text, or sas source entries in my profile.
>
> I have 26 actions on my mouse, ~50 function keys and probably about 3
> dozen command macros, many
> are almost 30 years old.
>
> Top command macros (some on function keys)
>
> xplo LOADaDEMO -> LOAD DEMO alning with #! LOADaDEMO is place in clipboard
> frq sex        -> freq table in output
> frqh sex       -> highlighted dataset freq table sex
> dmp/dmp        -> proc contents with same data in output
>
> Middle mouse button -> send a time stamped version of program to c:\ver
> and a production version without time stamp to c:/utl
>
> RMB -> submit
> highlight RMB -> submit highlighted text
>
>
> On Thu, Aug 25, 2016 at 9:00 AM, Peter Flom <peterflomconsulting@
> mindspring.com> wrote:
>
>> I think it's great that Nat is still discovering the wonders of SAS.
>>
>>
>>
>> J
>>
>>
>>
>> Peter
>>
>>
>>
>> *From:* SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] *On Behalf Of *Nat
>> Wooding
>> *Sent:* Wednesday, August 24, 2016 9:17 AM
>> *To:* SAS-L@LISTSERV.UGA.EDU
>> *Subject:* Keyboard shortcut (Windows) to comment out a block of code
>>
>>
>>
>> Through a sheer blunder yesterday, I got my fingers tangled and typed
>> Cntl ? when at the same time I had a line highlit and voila, the line
>> suddenly became a /* */ comment. I looked around and found
>>
>>
>>
>> http://support.sas.com/documentation/cdl/en/hostwin/67962/
>> HTML/default/viewer.htm#p0726xzb9e7fp7n1sjiml5m2cedu.htm
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> which lists keyboard short cuts but not this one. I suppose that it is
>> documented somewhere but I can't recall ever hearing of it.
>>
>>
>>
>> In doing some testing, if you highlight multiple lines, each line will
>> become an individual comment.
>>
>>
>>
>> Happy commenting.
>>
>>
>>
>> Nat
>>
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">Just another note</div><div \
class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">In the \
old text editor, all of SAS is available with command macros, function keys or mouse \
actions.</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">One of \
the differences between the link with all those EE key settings is that I can program \
what I want on &#39;CNTL L&#39; or</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">place it on a function key. \
EE Keyboard macros do alleviate this, but I don&#39;t think you can do much \
programming on pasted text.</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">However \
there appear to be more key settings than I have function keys, but I always have \
command macros.</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">It \
might be interesting if SAS would list all the legacy functions-procedures-sas \
scripting capabilities that are removed</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">with each new interface or \
upgrade. Put the enhancements somewhere else.</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">It also \
might be interesting if SAS did a survey and asked programmers how they would feel if \
SAS</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">removed stored processors, \
removed the EG interface and forced all users to migrate to SAS \
Studio.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug \
25, 2016 at 9:18 AM, Roger DeAngelis <span dir="ltr">&lt;<a \
href="mailto:rogerjdeangelis@gmail.com" \
target="_blank">rogerjdeangelis@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">Hi Team</div><div \
class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">  One \
of the issues I have with most of the new editor functions is the failure to transfer \
settings when SAS is upgraded.</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">  Since \
all my function keys, windows settings, command macros and mouse linkage is saved in \
my profile. They automatically</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">work when I new version of \
SAS is installed.  </div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">With EG \
I have always had to recreate my settings, could be an issue with our \
IT.<br></div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">Also \
command macros are function keys are just SAS text and I can edit them.</div><div \
class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">With EG \
I have always had to recreate my settings.</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">The \
&#39;funny keyboard macro catalogs do not appear to be saved easily in my autocall \
library as text, or sas source entries in my profile.</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">I have \
26 actions on my mouse, ~50 function keys and probably about 3 dozen command macros, \
many  </div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">are almost 30 years \
old.</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">Top \
command macros (some on function keys)</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">xplo \
LOADaDEMO -&gt; LOAD DEMO alning with #! LOADaDEMO is place in clipboard</div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">frq sex \
-&gt; freq table in output</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">frqh sex          -&gt; \
highlighted dataset freq table sex</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">dmp/dmp            -&gt; proc \
contents with same data in output  </div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">Middle \
mouse button -&gt; send a time stamped version of program to c:\ver and a production \
version without time stamp to c:/utl</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div><div \
class="gmail_default" style="font-family:monospace,monospace;font-size:small">RMB \
-&gt; submit</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small">highlight RMB -&gt; submit \
highlighted text</div><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:small"><br></div></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">On Thu, Aug 25, 2016 at 9:00 AM, Peter Flom <span \
dir="ltr">&lt;<a href="mailto:peterflomconsulting@mindspring.com" \
target="_blank">peterflomconsulting@<wbr>mindspring.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p \
class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I think \
it's great that Nat is still discovering the wonders of SAS. \
<u></u><u></u></span></p><p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>  \
<u></u></span></p><p class="MsoNormal"><span \
style="font-family:Wingdings;color:#1f497d">J</span><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p><p \
class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>  \
<u></u></span></p><p class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Peter</span><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p><p \
class="MsoNormal"><span \
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>  \
<u></u></span></p><div><div style="border:none;border-top:solid #b5c4df \
1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> \
SAS(r) Discussion [mailto:<a href="mailto:SAS-L@LISTSERV.UGA.EDU" \
target="_blank">SAS-L@LISTSERV.UGA.EDU</a><wbr>] <b>On Behalf Of </b>Nat \
Wooding<br><b>Sent:</b> Wednesday, August 24, 2016 9:17 AM<br><b>To:</b> <a \
href="mailto:SAS-L@LISTSERV.UGA.EDU" \
target="_blank">SAS-L@LISTSERV.UGA.EDU</a><br><b>Subject:</b> Keyboard shortcut \
(Windows) to comment out a block of \
code<u></u><u></u></span></p></div></div><div><div><p class="MsoNormal"><u></u>  \
<u></u></p><div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black">Through \
a sheer blunder yesterday, I got my fingers tangled and typed Cntl ? when at the same \
time I had a line highlit and voila, the line suddenly became a /* */ comment. I \
looked around and found <u></u><u></u></span></p></div><div><p class="MsoNormal" \
style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><u></u>  \
<u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><a \
href="http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#p0726xzb9e7fp7n1sjiml5m2cedu.htm" \
target="_blank">http://support.sas.com/documen<wbr>tation/cdl/en/hostwin/67962/<wbr>HT \
ML/default/viewer.htm#p0726x<wbr>zb9e7fp7n1sjiml5m2cedu.htm</a><u></u><u></u></span></p></div><div><p \
class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><u></u>  \
<u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><u></u>  \
<u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><u></u>  \
<u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><u></u>  \
<u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black">which \
lists keyboard short cuts but not this one. I suppose that it is documented somewhere \
but I can&#39;t recall ever hearing of it. <u></u><u></u></span></p></div><div><p \
class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><u></u>  \
<u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black">In doing \
some testing, if you highlight multiple lines, each line will become an individual \
comment. <u></u><u></u></span></p></div><div><p class="MsoNormal" \
style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><u></u>  \
<u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black">Happy \
commenting.<u></u><u></u></span></p></div><div><p class="MsoNormal" \
style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black"><u></u>  \
<u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span \
style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:black">Nat<u></u \
><u></u></span></p></div></div></div></div></div></div></blockquote></div><br></div> \
> </div></div></blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic