Silverfrost Logo About Us | Contact Us
 

ERROR@

Platform

Win32

Purpose

To print a user defined error message and terminate a program.

Syntax

SUBROUTINE ERROR@(ERROR_MESSAGE)
CHARACTER (LEN=*) ERROR_MESSAGE

Description

This routine generates a user defined error condition. If the program is running under the debugger, then the message will be displayed in the error window. Otherwise, the error is printed out and the EXIT routine is called with a code of 1 (exit to DOS).

Example

CALL ERROR@('Too many data points for PLOT program')

 

 

Copyright © 1999-2017 Silverfrost Limited