mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
13 lines
169 B
Text
13 lines
169 B
Text
|
|
function foo2( a, b, e )
|
||
|
|
return a+b+e;
|
||
|
|
endfunction
|
||
|
|
|
||
|
|
function foo( a, b,c,d )
|
||
|
|
return a*b+c*d-foo2( 12,c,2 );
|
||
|
|
endfunction
|
||
|
|
|
||
|
|
var a;
|
||
|
|
|
||
|
|
a := foo( 2, 3.5, 6.7, 9 );
|
||
|
|
|
||
|
|
print(a);
|