Chapter Contents

Previous

Next
Frame Class: _getNumVar

Frame Class: _getNumVar



Returns the value of a numeric variable or array item contained


Syntax
Details

Syntax

objectName._getNumVar( variableName, value );
objectName._getNumVar( variableName, value, dimension );
objectName._getNumVar( variableName, value, dimension, lowerBound );
objectName._getNumVar( variableName, value, dimension, lowerBound, upperBound );

Argument Type Use Description
variableName Character Input specifies the name of the SCL variable to change
value Numeric Output returns the value of the SCL variable
dimension Numeric Update specifies the dimension for which you want to know the number of elements of the array and returns the diemnsion of that array
lowerBound Numeric Output returns the lower bound of the specified dimension when variableName is an array
upperBound Numeric Output returns the upper bound of the specified dimension when variableName is an array


Details

Variables contained in a frame's SCL program are usually accessed from the SCL program itself. To access a numeric variable or array item from within a method, use _getNumVar method.

_getNumVar can also determine the dimensions and the upper and lower bounds of both one-dimensional and multidimensional arrays. The dimension, lowerBound, and upperBound arguments are similar to the DIM, LBOUND, and HBOUND SAS functions.


Chapter Contents

Previous

Next

Top of Page

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