Chapter Contents

Previous

Next
VARRAY

VARRAY



Returns a value that indicates whether the specified name is an array

Category: Variable Information


Syntax
Arguments
Details
Comparisons
Examples
See Also

Syntax

VARRAY (name)

Arguments

name
specifies a name expressed as a scalar or as an array reference.
Restriction: You cannot use an expression as an argument.


Details

VARRAY returns 1 if the given name is an array; it returns 0 if the given name is not an array.


Comparisons


Examples

SAS Statements Results
array x(3) x1-x3;
y=varray(x);
Z=varray(x1);
put y=;
put Z=;

y=1
z=0


See Also

Functions:

"Variable Information" functions in Functions and CALL Routines by Category


Chapter Contents

Previous

Next

Top of Page

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