SPACES
From CometWiki
(New page: SPACES Syntax: SPACES number-of-spaces-between-columns Placement: See discussion. Discussion: The SPACES command sets the number of spaces between columns. If you do not specify a ...) |
|||
Line 1: | Line 1: | ||
- | SPACES | + | |
- | Syntax: SPACES number-of-spaces-between-columns | + | == SPACES == |
- | Placement: See discussion. | + | |
- | Discussion: The SPACES command sets the number of spaces between columns. If you do not specify a SPACES command, The Reporter defaults to 5 spaces between each column. | + | '''Syntax:''' <br> SPACES number-of-spaces-between-columns <br> |
+ | '''Placement:''' <br> See discussion. <br> | ||
+ | '''Discussion:''' <br> The SPACES command sets the number of spaces between columns. <br> If you do not specify a SPACES command, The Reporter defaults to 5 spaces between each column. <br> | ||
If you do not specify a SPACES command, and if the width of the print line exceeds the margins of the output device, The Reporter will reduce the number of spaces between columns in an attempt to fit all of the data on the report. | If you do not specify a SPACES command, and if the width of the print line exceeds the margins of the output device, The Reporter will reduce the number of spaces between columns in an attempt to fit all of the data on the report. | ||
Line 9: | Line 11: | ||
The SPACES command my be used globally or locally, as follows: | The SPACES command my be used globally or locally, as follows: | ||
- | + | '''Globally''' <br> | |
- | Globally | + | |
If you place the SPACES command before the REPORT command, all of the print lines will be affected. | If you place the SPACES command before the REPORT command, all of the print lines will be affected. | ||
- | For example: | + | '''For example:''' |
SPACES 8 ! SPACES command in global section | SPACES 8 ! SPACES command in global section | ||
Line 23: | Line 24: | ||
- | Locally | + | '''Locally''' <br> |
If you place the SPACES command after the REPORT command, it applies only to the following PRINT command. | If you place the SPACES command after the REPORT command, it applies only to the following PRINT command. | ||
- | For example: | + | '''For example:''' |
REPORT | REPORT |
Latest revision as of 11:09, 6 June 2009
SPACES
Syntax:
SPACES number-of-spaces-between-columns
Placement:
See discussion.
Discussion:
The SPACES command sets the number of spaces between columns.
If you do not specify a SPACES command, The Reporter defaults to 5 spaces between each column.
If you do not specify a SPACES command, and if the width of the print line exceeds the margins of the output device, The Reporter will reduce the number of spaces between columns in an attempt to fit all of the data on the report.
However, if your report contains a SPACES command, The Reporter will force the number of spaces you request between fields, even if it will cause columns to go "off the edge" of the output device.
The SPACES command my be used globally or locally, as follows:
Globally
If you place the SPACES command before the REPORT command, all of the print lines will be affected.
For example:
SPACES 8 ! SPACES command in global section REPORT . PRINT ... ! print line with 8 spaces between columns USING ... PRINT ... ! print line with 8 spaces between columns
Locally
If you place the SPACES command after the REPORT command, it applies only to the following PRINT command.
For example:
REPORT . PRINT ... USING ... SPACES 3 ! SPACES command in local section PRINT ... ! print line with 3 spaces between columns