Skip to content

A FUNCTION returns a value

  • A function works something out and hands back a value with RETURN.
  • RETURNS (in the header) states the type of value it gives back.

A procedure is called as a statement to do a job; a function call is replaced by the value it returns

Handout

IGCSE, A-Level & AP