mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
14 lines
205 B
Text
14 lines
205 B
Text
|
|
use os;
|
||
|
|
|
||
|
|
function foo( p1, p2 := 0 )
|
||
|
|
print( p1 );
|
||
|
|
print( p2 );
|
||
|
|
endfunction
|
||
|
|
|
||
|
|
program test( who, input )
|
||
|
|
who := "a";
|
||
|
|
input := "b";
|
||
|
|
var t := foo( input {who,input} );
|
||
|
|
print( t );
|
||
|
|
endprogram
|