Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

PERROR

Runtime Subroutine: Sends a message to the standard error stream, preceded by a specified string, for the last detected error.

Module

USE IFCORE

CALL PERROR (string)

string

(Input) Character*(*). Message to precede the standard error message.

The string sent is the same as that given by GERROR.

Example

 USE IFCORE
 character*24 errtext
 errtext = 'In my opinion, '
 . . .
 ! any error message generated by errtext is
 !    preceded by 'In my opinion, '
 Call PERROR (errtext)

See Also