Previous Page | Next Page

Functions and CALL Routines

VVALUEX Function



Returns the formatted value that is associated with the argument that you specify.
Category: Variable Information

Syntax
Arguments
Details
Comparisons
Examples
See Also

Syntax

VVALUEX(expression)


Arguments

expression

specifies a character constant, variable, or expression that evaluates to a variable name.

Restriction: The value of the specified expression cannot denote an array reference.

Details

If the VVALUEX function returns a value to a variable that has not yet been assigned a length, by default the variable is assigned a length of 200.

VVALUEX returns a character string that contains the current value of the argument that you specify. The value is formatted by using the format that is currently associated with the argument.


Comparisons


Examples

SAS Statements Results
date1='31mar02'd;
date2='date1';
format date1 date7.;
datevalue=vvaluex(date2);
put datevalue;


31MAR02


See Also

Functions:

VVALUE Function

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

Previous Page | Next Page | Top of Page