Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#aros]

PrintFault

Returns the text associated with a DOS error code

Declaration

Source position: amigados.pas line 2278

function PrintFault(

  Code: LongInt;

  const Header: PChar

):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: 2021-07-30