2019-09-25 02:47:04 +04:00
|
|
|
// Test a trivial PascaLIGO procedure
|
|
|
|
|
2019-09-25 03:20:52 +04:00
|
|
|
procedure sub (const j: int) is
|
2019-09-25 02:47:04 +04:00
|
|
|
begin
|
2019-09-25 03:20:52 +04:00
|
|
|
i := i + 1
|
|
|
|
end
|
|
|
|
|
|
|
|
function main (const i: int) : int is
|
|
|
|
begin
|
|
|
|
sub(i)
|
|
|
|
end with i
|