25 lines
473 B
Plaintext
25 lines
473 B
Plaintext
module: CommonTasks
|
|
function: main1
|
|
parameter:
|
|
declare num1: int
|
|
declare num2: int
|
|
return_type:int
|
|
|
|
body:
|
|
num1 = 10
|
|
num2=1
|
|
return num1 + CommonTasks.test(1)
|
|
end body
|
|
end function
|
|
|
|
function:test
|
|
parameter:
|
|
declare num1:int
|
|
return_type:int
|
|
body:
|
|
num1 =4
|
|
return num1
|
|
end body
|
|
end function
|
|
end module
|