OperatingSystem

From SCAR Divi Manual
Jump to: navigation, search

Definition

function OperatingSystem: TOpSys;

Availability

SCAR Divi 3.25 > Current

Description

Returns a TOpSys value associated with the host operating system.

Example

begin
  if OperatingSystem = osWin7 then
    WriteLn('You are running Windows 7')
  else
    WriteLn('You are not running Windows 7');
end.