Skip to main content

function - return

The function statement is used to declare a function. A function usually also contains a return statement.

The main() function is required for each FPL program.

function main() {
let s = 100
printf("%d", s)
return {}
}