@@SHx

Command

The @@SHx statement represents a subset of all arguments starting with position x and including the rest of the arguments for the macro.

Syntax

@@Sx

xThe number of an argument in the signature of the macro, with 0 representing the first position, 1 representing the second position, and so on

Notes

Example

The following example shows a macro that multiplies the first arguments together and adds them to the sum of the remaining arguments.

create macro Sample.'@MULTANDSUM'(single, single, any) 
  as '(@@1 * @@2) + @SUM(@@SH2)';

See Also

@@x
@@S


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