Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

KnownFunctions: Difference between revisions

From Catglobe Wiki
CGHelpdesk (talk | contribs)
No edit summary
CGHelpdesk (talk | contribs)
No edit summary
 
Line 1: Line 1:
= knownFunctions =
= knownFunctions =
 
[[Category:General Functions]]
__NOTOC__
__NOTOC__


Get the list of names of all CGScript functions
Get the list of names of all CGScript functions
Line 18: Line 17:
<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>

Latest revision as of 09: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]); 
}