2 --Copyright: Matra Datavision 1992,1993
5 -- Created: Tue 18 1992
6 -- Author: Stephan GARNAUD (ARM)
12 ---Purpose: Carries information about a Host
15 uses SysType, OEMType, Error, AsciiString from TCollection
16 raises ConstructionError, NullObject, OSDError
21 ---Purpose: Initializes current host by default.
24 SystemVersion (me : in out) returns AsciiString is static;
25 ---Purpose: Returns system name and version
28 SystemId (me) returns SysType is static;
29 ---Purpose: Returns the system type (UNIX System V, UNIX BSD, MS-DOS...)
32 HostName (me : in out) returns AsciiString is static;
33 ---Purpose: Returns host name.
36 AvailableMemory (me : in out) returns Integer is static;
37 ---Purpose: Returns available memory in Kilobytes.
38 ---Level: Obsolete syntax. Will be removed in next version
40 InternetAddress (me : in out) returns AsciiString is static;
41 ---Purpose: Returns Internet address of current host.
44 MachineType (me : in out) returns OEMType is static;
45 ---Purpose: Returns type of current machine.
48 Failed (me) returns Boolean is static;
49 ---Purpose: Returns TRUE if an error occurs
52 Reset (me : in out) is static;
53 ---Purpose: Resets error counter to zero
57 ---Purpose: Raises OSD_Error
59 raises OSDError is static;
61 Error (me) returns Integer is static;
62 ---Purpose: Returns error number if 'Failed' is TRUE.