Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 4/28/2026
Public
Document Table of Contents

INQUIRE: LEADING_ZERO Specifier

The LEADING_ZERO specifier queries the output mode for optional leading zeros in numeric output during a connection. It takes the following form:

LEADING_ZERO = ldz

ldz

Is a scalar default character variable that is assigned one of the following values:

'PRINT'

If the file is connected enabling printing of optional leading zeros.

'PROCESSOR_DEFINED'

If the file is connected with leading zeros added at the discretion of the processor.

'SUPPRESS'

If the file is connected disabling printing of optional leading zeros.

'UNDEFINED'

If the file is not connected, or if it is not connected for formatted I/O.