Difference between revisions of "OperatingSystem"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function OperatingSystem: TOpSys; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== Returns a TOpSys val...")
 
(No difference)

Latest revision as of 17:43, 3 July 2011

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.