Skip to content

Commit 631c980

Browse files
authored
add some more descriptions
1 parent 00588e3 commit 631c980

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Turning a program into a macro.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ run;
4040
```
4141

4242
# Step 1
43-
The next step is to find identify all locations where we ues the MAKE and need to change it. Examining the code we can find 4 places where the Make is used.
43+
The next step is to find identify all locations where we ues the MAKE and need to change it. Examining the code we can find 4 places where the Make is used. Each section of the code where MAKE is found is indicated with a number.
4444
1. ODS HTML Statement - used to control file name
4545
2. TITLE statement - used to display the title in the report
4646
3. PROC MEANS WHERE data set option - filters the data for PROC MEANS
@@ -75,6 +75,8 @@ ods html close;
7575
We start by creating a macro variable and replacing all instances of make, with the macro variable.
7676
In addition, we need to switch all quotation marks from single to double quotes. Macro variables do not resolve in single quotes.
7777

78+
To create a macro variable you use %LET macroVariableName = <value><function>
79+
7880

7981
```sas
8082
%let r_make=Toyota;

0 commit comments

Comments
 (0)