Difference between revisions of "GetVersion"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:General_Functions]]
+
{{HelpFiles}}

+
 
 +
==== getVersion  ====
 +
 
 +
Gets the current version of CGScript
  
====getVersion====
+
'''Syntax'''
  
Gets the current version of CGScript
+
getVersion()
  
'''Syntax'''
+
'''Arguments'''  
  
getVersion()
+
none.
  
'''Arguments'''
+
'''Return type'''  
  
none.
+
array
  
'''Return type'''
+
'''Examples'''  
  
number
+
''array v = getVersion(); ''
  
'''Examples'''
+
''print(v); ''  
  
number v = getVersion();
+
''//Result: {CatGlobe scripting language version 0.5 beta} ''
  
print(v);
+
'''Availability'''
  
'''Availability'''
+
Version 4.8 __NOTOC__ <!-- imported from file: 4258.htm-->
  
Version 4.8
+
[[Category:General_Functions]]
__NOTOC__
 
<!-- imported from file: 4258.htm-->
 

Latest revision as of 12: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