OperatingSystem

From SCAR Divi Manual
Revision as of 17:43, 3 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function OperatingSystem: TOpSys; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== Returns a TOpSys val...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.