Chapter Contents

Previous

Next
Frame Class: _getCharVar

Frame Class: _getCharVar



Returns the value of a character variable or array item contained in the frame's SCL entry


Syntax
Details

Syntax

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

Argument Type Use Description
variableName Character Input specifies the name of the SCL variable to change
value Character 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 character variable or array item from within a method, use _getCharVar method.

The _getCharVar method can also determine the dimensions and the upper and lower bounds of both one-dimensional and multidimensional arrays. The dim, lowBound, and highBound 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.