Previous Page | Next Page

Understanding the SAS/IML Language

Scalar Literals

The following example statements define scalars as literals. These examples are simple assignment statements with a matrix name on the left-hand side of the equal sign and a value on the right-hand side. Notice that you do not need to use braces when there is only one element.

a = 12;
a = . ;
a = 'hi there';
a = "Hello";
Previous Page | Next Page | Top of Page