Chapter 3: Dynamic Content Generation Using the Macro Facility and the STREAM Procedure

Code and Code Comments

The following pages represent additional detail for individual code snippets in this chapter. You can scroll through these pages to see all the comments for this chapter. You can also click the Return button on each page to see the code in context.

 

Chapter 3, Section 3.3 Macros for Iterative and Conditional Text Generation

 
 
 
%macro characterSet
    (evenRowBGColor = grey
    ,oddRowBGColor = white
    );

Define the macro that creates the HTML table that displays values. Parameters are used to specify default background colors for alternating rows.

Return

Get SAS Server Pages now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.