Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Understanding the Language

Scalar Literals

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

   a=12;
   a=. ;
   a='hi there';
   a="Hello";

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.