12. Report-Writer Statements : Page Layout and Control Statements : .Rightmargin Statement—Set the Right Margin
 
Share this page                  
.Rightmargin Statement—Set the Right Margin
The .rightmargin statement sets a right margin for the report.
This statement has the following format:
.rightmargin | .rm [[+|-] n | expression]
The parameters for the .rightmargin statement are as follows:
+ | -
If sign is present, the new position is calculated relative to the current position. If no sign is present, it is set to the absolute position n.
The plus sign (+) or minus sign (-) must be stated explicitly and cannot be a part of the expression.
n
The position of the new right margin of the report. If signed, the new position is calculated relative to the current position. If unsigned, it is set to absolute position n.
expression
A numeric expression that evaluates to the position of the new rightmargin of the report. All variables that are part of the expression must be preceded by a dollar sign ($).