9 lines
156 B
Plaintext
9 lines
156 B
Plaintext
|
function main (const i : int) : int is
|
||
|
var result : int := 23 ;
|
||
|
begin
|
||
|
if i = 2 then
|
||
|
result := 42
|
||
|
else
|
||
|
result := 0
|
||
|
end with result
|