Skip to content · ⁨Saltar al contenido⁩

Functions · ⁨Funciones⁩

English

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.
Español

Una función devuelve un valor

  • Una función es como un procedimiento, y también devuelve un valor.
  • La definición indica el tipo de ese valor: RETURNS INTEGER.
  • RETURN establece el valor. Generalmente es la última línea de la función.

Handout · ⁨Material⁩

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP