-qcr

Category

Input control

@PROCESS

None.

Purpose

Controls how the compiler interprets the CR (carriage return) character.

This option allows you to compile code written using a Mac OS or DOS/Windows editor.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-nocr-.   
>>- -q--+-cr---+-----------------------------------------------><

Defaults

By default, the CR (Hex value X'0d') or LF (Hex value X'0a') character, or the CRLF (Hex value X'0d0a') combination indicates line termination in a source file.

Usage

If you specify -qnocr, the compiler recognizes only the LF character as a line terminator. You must specify -qnocr if you use the CR character for a purpose other than line termination.