@@x

Command

The @@x statement is a variable representing an input argument for a macro. The number x is the number of the argument in the signature of the macro. So, @@1 represents the first input argument, @@2 represents the second input argument, and so on.

Syntax

@@x

xThe number of an argument in the signature of the macro

Notes

Example

The following example shows a create statement for a macro with three input arguments that are added.

create macro Sample.'@SUM3'(single, single, single) as '(@@1 + @@2 + @@3)';

See Also

@@S
@@SHx


Copyright 1991-2002 Hyperion Solutions Corporation. All rights reserved.