Core Function Call

From Sputnik Wiki
Revision as of 15:49, 20 January 2013 by UberFoX (Talk | contribs)
Jump to: navigation, search
Call <function/array>, <expressions>

Contents

Description

Calls a function contained in a string parameter.

function

The name of the user function to call.

OR

A two element array to use as the call class and function name.

expressions

None, One or more arguments to send to the function.

Return Value

Acts like a regular function call.

Remarks

The function CAN be a built-in Sputnik function or a user defined one.

The function can pass arguments to functions, also & pointer parameters are supported.

Example

Call( "Test", 10, 20);
 
Function Test($a, $b)
{
	println("Hello from test ($a, $b)");
}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox