Difference between revisions of "GetVersion"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
{{HelpFiles}}  
 
{{HelpFiles}}  
  
==== getVersion ====
+
==== getVersion ====
  
 
Gets the current version of CGScript  
 
Gets the current version of CGScript  
Line 19: Line 19:
 
'''Examples'''  
 
'''Examples'''  
  
''array v = getVersion(); ''
+
''array v = getVersion(); ''  
  
''print(v); ''
+
''print(v); ''  
  
''Result: {CatGlobe scripting language version 0.5 beta} ''
+
''//Result: {CatGlobe scripting language version 0.5 beta} ''  
  
 
'''Availability'''  
 
'''Availability'''  

Latest revision as of 11:48, 21 December 2011



getVersion

Gets the current version of CGScript

Syntax

getVersion()

Arguments

none.

Return type

array

Examples

array v = getVersion();

print(v);

//Result: {CatGlobe scripting language version 0.5 beta}

Availability

Version 4.8