mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
18 lines
281 B
Text
18 lines
281 B
Text
|
|
program f()
|
|
foo( 1, 2 );
|
|
endprogram
|
|
|
|
function foo( a, b )
|
|
if (a)
|
|
print( "a true" );
|
|
if (b)
|
|
print( "b true" );
|
|
else
|
|
print( "b false" );
|
|
endif
|
|
else
|
|
print( "a false" );
|
|
return;
|
|
endif
|
|
endfunction
|