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

PrintFault

Returns the text associated with a DOS error code

Declaration

Source position: amigados.pas line 1692

function PrintFault(

  code: LongInt;

  const header: pCHAR

):LongBool;

function PrintFault(

  code: LongInt;

  const header: string

):Boolean;

Arguments

code

  

Error code

header

  

Header to output before error text

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