Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Language Reference

VALUE Function

assigns values by indirect reference

VALUE( char-scalar)

where char-scalar is a character scalar containing the name of a matrix.

The VALUE function expects a single character string argument containing the name of a matrix. It looks up the matrix and moves its value to the result. For example, the statements

   a={1 2 3};
   b="A";
   c=value(b);
find that the value of the argument B is A and then look up A and copy the value 1 2 3 to C.
                C             1 row       3 cols    (numeric)

                                1         2         3

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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