IMind soft

Author's software




Being tested

Functions and expressions

Help on built-in functions.

The function Declaration in CalculationLaboratory:

function funcname(argtype1 name1, argtype2 name2...)


<function body>


where argtype1, argtype2 - types of variables argument, name1, name2 are the names of these variables

Types of variables in CalculationLaboratory:

The data type Note
number Usual number
string String
object Object ( currently not used)

<function body> - the body of a function, its contents are

The return result of the function is the return statement:

return <expression or value or variable>;

In return can be both the expression and the value or variable.