PERROR

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

Module: USE DFPORT

Syntax

CALL PERROR (string)

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

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

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also:R GERROR, IERRNO

Example

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