Difference between revisions of "GetVersion"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:General_Functions]]
+
{{HelpFiles}}  
{{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-->
 

Revision as of 11:47, 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