Jiangtang's profile技止于此BlogListsNetwork Tools Help

Blog


    4/3/2007

    一组常用的SAS快捷键和命令(一):入门阶段

    腾出手来动鼠标,对习惯在Linux下编程的程序员来说都非常麻烦:双手最好都时刻停在键盘上。在SAS for Windows下,还是有几个快捷键能让我们的工作更轻松,一下都是都是我平时常用的,而且大多每次开机都要用上:

    1. 第一个当然是F9,它能显示所有的SAS快捷键;一个可以替代的SAS 命令栏命令是keys。这个命令栏就是SAS 视窗左上角那个小框,在菜单栏下面那个,不是SAS的程序编辑器Editor;
    2. 提到命令框,第2个快捷键就是F11。比如说你在Editor下写程序,想要显示每条程序的行号,摁下F11就可以跳到命令框,敲入nums,回车,就回到你当前的编辑器里;
    3. 当然你还可以在程序编辑器Editor里加一个命令框:Tools——Options——Preferences——View,找到Command line钩上就是。这样在你的Editor上面就会出现一个Command ===>,这里你可以像在命令框一样敲入一些小命令,比如bye就退出系统。对这个Command line,一个类似命令框的F11的快捷键是home,它可以在Command line和Editor之间来回切换。比较一下,命令框的好处就是它能自动记下你敲入的每条命令,以后你敲入一个字母它就能够自动补齐,Command line没有记忆功能,它的好处就是,它就在你的编辑器里;
    4. 返回键backspace:比如说你在Libraries一路点开,backspace可以一路返回;
    5. 接下来是一组连贯的快捷键(F3到F7):
      • F5回到你的程序编辑器Editor;
      • 写好程序后,摁F3提交运行;
      • F6查看Log;
      • F7查看结果Output;
      • 如果你在编辑器里删了些东西,F4可以追回整段的代码(recall)。   
    6. 一些组合键可以在第二阶段再熟悉,但一些在Windows下通用的快捷键还是很有价值,如home回到一行的开始,end回到一行的末尾,Ctrl+Home回到整篇的开始,Ctrl+end回到整篇的末尾,摁下Shift不方再用上下左右键选中你感兴趣的内容。

    总结一下,这里介绍了:

    • F9, keys
    • F11, nums, bye; home (for Command line)
    • backspace
    • F5, F3, F6, F7, F4
    • home, end, Ctrl+Home, Ctrl+end, Shift+上下左右键

    Comments (3)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    No namewrote:
    您需要二手液晶显示屏废旧液晶屏么?我们是不折不扣的二手液晶屏、旧液晶屏大批发商,长期大量供应可再利用的旧液晶屏。我公司提供的各种尺寸的二手液晶屏, 不同厚薄如笔记本屏,均已经过我们严格的分类,检验,测试流程。请访问协力液晶屏www.sceondhandlcd.com[ghejgbbgfabhgac]
    Nov. 21
    Nov. 9
    Nov. 3

    Trackbacks

    The trackback URL for this entry is:
    http://johnthu.spaces.live.com/blog/cns!2053CD511E6D5B1E!143.trak
    Weblogs that reference this entry
    • None