Skip to main content

Space

Syntax

Space [number]

Parameters

  • number: An optional integer specifying the number of spaces to insert before the next field is printed. The default is 1. A value of 0 can be used to place fields adjacent to each other.

Description

Controls the number of spaces between fields in a listing, allowing for custom horizontal alignment.

Remarks

The default space between fields is one, and zero before the first field. When using Space, automatic column headers may not align properly, so it is recommended to use the NO COLUMN HEADERS command and create a custom header with the MESSAGE command.

Examples

To add 10 spaces before a field to align it to the right for a packet label:

Field FIRST_NAME
Space 10
Field LAST_NAME

To print a first and last name with no space in between:

Field FIRST_NAME
Space 0
Field LAST_NAME