Skip to content

Functions

A function returns one value

  • A function is like a procedure, and it also hands one value back.
  • The definition says the type of that value: RETURNS INTEGER.
  • RETURN sets the value. It is normally the last line of the function.

Handout

Log in or create account

IGCSE, A-Level & AP