Difference between revisions of "GetSCARVersion"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetSCARVersion: Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the major versio...")
 
 
Line 13: Line 13:
 
<source lang="scar">
 
<source lang="scar">
 
begin
 
begin
   Alert(GetSCARVersion);
+
   WriteLn(GetSCARVersion);
 
end.
 
end.
 
</source>
 
</source>

Latest revision as of 21:06, 26 November 2012

Definition

function GetSCARVersion: Integer;

Availability

SCAR Divi 3.00 > Current

Description

Returns the major version number of SCAR Divi as a whole number where the main version number is perpended to it (e.g. 3.25 becomes 325)

Example

begin
  WriteLn(GetSCARVersion);
end.