pad-source, Qpad-source

Specifies padding for fixed-form source records.

IDE Equivalent

Windows: Language > Pad Fixed Form Source Lines
Linux: None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -pad-source
-nopad-source
Windows: /pad-source
/nopad-source
/Qpad-source
/Qpad-source-

Arguments

None

Default

OFF Fixed-form source records are not padded.

Description

This option specifies padding for fixed-form source records. It tells the compiler that fixed-form source lines shorter than the statement field width are to be padded with spaces to the end of the statement field. This affects the interpretation of character and Hollerith literals that are continued across source records.

The default value, nopad-source, causes a warning message to be displayed if a character or Hollerith literal that ends before the statement field ends is continued onto the next source record. To suppress this warning message, specify option warn -nousage (Linux) or /warn:nousage (Windows).

Specifying pad-source can prevent warning messages associated with option warn usage.

Alternate Options

Linux: -pad_source
Windows: /pad_source, /Qpad_source

See Also

warn compiler option