Mandarin Chinese Lesson 33 Homework

Printer-friendly version

Introduction

This lesson introduces the most commonly used features of the SAS macro language. When you write a program that will be run over and over again, you might want seriously to consider using "macros" in your code, because:

  • macros allow you to make a change in one location of your program, so that SAS can cascade the change throughout your program
  • macros allow you to write a section of code once and use it over and over again, in the same program or even different programs
  • macros allow you to make programs data driven, letting SAS decide what to do based on actual data values.

To whet our appetite for SAS macros, we'll read this paper:

SAS Macro Programming for Beginners

written by Susan J. Slaughter and Lora D. Delwiche and presented as a tutorial at the 2004 SAS Users Group International (SUGI) Meeting in Montreal, Canada.

Learning objectives & outcomes

Upon completing this lesson, you should be able to do the following:

  • understand what a SAS macro is
  • distinguish between local and global macro variables
  • create a macro variable using a %LET assignment statement
  • use a macro variable in a SAS program
  • write and invoke a basic SAS macro
  • write and invoke a SAS macro that uses parameters
  • write a macro with conditional macro %IF-%THEN-%ELSE statements
  • use and understand automatic macro variables such as &SYSDATE and &SYSDAY
  • use CALL SYMPUT to write data-driven programs

Our "to do" list for this lesson

In order to complete this lesson you should:

  1. ReadtheSAS Macro Programming for Beginnerspaper written by Susan J. Slaughter and Lora D. Delwiche.
  2. Post any questions or comments you have about the lesson material on the Lesson #33 General Discussion Board
  3. Complete the homework assignment and submit it to the Lesson #33 Homework Dropbox.

About this course: Welcome to "Chinese Characters for beginner"! This is an elementary course on learning Chinese characters. Together, we will start from the basic element of Chinese characters-- Strokes. Then we will learn 1,200 basic Chinese words composed of 240 commonly used Chinese characters, which begin with “一”(one), including pronunciation, shape and meaning, so that to improve the learning effect. ① Each Chinese character is with pinyin; ② Each Chinese character is shown in the form of animation in the process of writing, namely strokes; ③ English translation is used on the Chinese character can be a word itself. Other Chinese characters can not be independent of words are the characters of. The English translation of this kind of characters is marked in parentheses; ④ Each Chinese word is accompanied by Pinyin, English translation and picture, which is easy to understand; ⑤ There are proper exercises at the end of each lesson. Good luck !

0 thoughts on “Mandarin Chinese Lesson 33 Homework”

    -->

Leave a Comment

Your email address will not be published. Required fields are marked *