13 lines
174 B
Plaintext
13 lines
174 B
Plaintext
/*
|
|
test-funcs.expr: example source file
|
|
*/
|
|
|
|
// double(x): returns 2*x
|
|
@double=func(x){2*x};
|
|
|
|
// Define variable 'a' wth value 5
|
|
@a=5;
|
|
|
|
// two(): returns 2
|
|
@two=func() {2};
|