17 lines
322 B
Plaintext
17 lines
322 B
Plaintext
module: CommonTasks
|
|
function: main
|
|
parameter:
|
|
declare num1: int
|
|
declare num2: int
|
|
return_type: int
|
|
|
|
body:
|
|
declare sum: int = num1 + num2
|
|
|
|
declare doubled: int = sum * 2
|
|
|
|
return doubled
|
|
end body
|
|
end function
|
|
end module
|