18 lines
246 B
Plaintext
18 lines
246 B
Plaintext
|
/*
|
||
|
sample-export-all.expr: example source file
|
||
|
*/
|
||
|
|
||
|
@@; // Enable export all mode
|
||
|
|
||
|
// double(x): returns 2*x
|
||
|
double=func(x){2*x};
|
||
|
|
||
|
// Define variable 'a' wth value 5
|
||
|
a=5;
|
||
|
|
||
|
// two(): returns 2
|
||
|
two=func() {2};
|
||
|
|
||
|
// six(): returns 6
|
||
|
six=func() {6};
|