Difference between revisions of "KnownFunctions"

From Catglobe Wiki
Jump to: navigation, search
(knownFunctions)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= knownFunctions =
 
= knownFunctions =
 +
[[Category:General Functions]]
 
__NOTOC__
 
__NOTOC__
  
Get the list of name of all CGScript functions
+
Get the list of names of all CGScript functions
 +
 
 +
== <span style="color:#a52a2a;">'''Syntax'''</span> ==
  
==== <span style="color:#a52a2a;">'''Syntax'''</span>  ====
 
 
knownFunctions()
 
knownFunctions()
  
==== <span style="color:#a52a2a;">'''Return type'''</span> ====
+
== <span style="color:#a52a2a;">'''Return type'''</span> ==
 +
 
 
An array of strings
 
An array of strings
  
==== <span style="color:#a52a2a;">'''Examples'''</span> ====
+
== <span style="color:#a52a2a;">'''Examples'''</span> ==
 +
 
 
<source lang="javascript">
 
<source lang="javascript">
 
array a = knownFunctions();  
 
array a = knownFunctions();  
for(number i = 0; i < a.Count; i++)
+
for(number i = 0; i < a.Count; i++) {  
{  
+
print(a[i]);  
  print(a[i]);  
 
 
}
 
}
 
</source>
 
</source>
 
 
[[Category:General Functions]]
 

Latest revision as of 10:59, 11 December 2013

knownFunctions


Get the list of names of all CGScript functions

Syntax

knownFunctions()

Return type

An array of strings

Examples

array a = knownFunctions(); 
for(number i = 0; i < a.Count; i++) { 
 print(a[i]); 
}