1
Vote

Language Feature Request: Functions

description

Users can define functions.
 
class FuncTest
{
func(factor x):=x+2;
factor a,b;
a = func(b)/3;
}
 
The resulted expression of a is a = (b+2)/3, and that of b is b = 3*a-2.

comments