[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)

PrintFault

Returns the text associated with a DOS error code

Declaration

Source position: amigados.pas line 2322

function PrintFault(

  Code: LongInt;

  const Header: STRPTR

):LongBool;

Arguments

Code

  

Error code

Header

  

Header to output before error text

Description

This routine obtains the error message text for the given error code. This is similar to the Fault() function, except that the output is written to the default output channel with buffered output. The value returned by IoErr() is set to the code passed in.

See also

IoErr

  

Return extra information from the system

Fault

  

Returns the text associated with a DOS error code

SetIoErr

  

Sets the value returned by IoErr()

DosOutput

  

Identify the programs' initial output file handle

FPuts

  

Writes a string the the specified output


Documentation generated on: 2017-01-10