System.SetInOutRes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetInOutRes(NewValue: Integer);

C++

extern DELPHI_PACKAGE void __fastcall SetInOutRes(int NewValue);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
System.hpp
System System

Description

Sets the value of the IO error code.

SetInOutRes sets the current value of the IO error code.

All IO routines in the System unit return an IO error that can be accessed by calling the IOResult function. Use SetInOutRes to clear the result code.

See Also