Language Reference |
assigns values by indirect reference
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 following statements find that the value of the argument is , then look up and copy the value 1 2 3 to :
a={1 2 3}; b="A"; c=value(b);Here is the resulting output:
C 1 row 3 cols (numeric) 1 2 3
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.