Core Function Return
From Sputnik Wiki
Return <expressions>
Contents |
Description
Return from a function with a value.
expressions
The expressions to return from the function can be a single variable or even arrays.
Return Value
You decide.
Remarks
N/A
Example
$value = Add(10, 20); println("Value is $value"); // Prints 30 Function Add ($a, $b) { return $a + $b; }