Previous Page | Next Page

Functions and CALL Routines

VFORMATW Function



Returns the format width that is associated with the specified variable.
Category: Variable Information

Syntax
Arguments
Comparisons
Examples
See Also

Syntax

VFORMATW (var)


Arguments

var

specifies a variable that is expressed as a scalar or as an array reference.

Restriction: You cannot use an expression as an argument.

Comparisons


Examples

SAS Statements Results
array x(3) x1-x3;
format x1 best6.;
y=vformatw(x(1));
put y=;


y=6


See Also

Functions:

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

Previous Page | Next Page | Top of Page