Skip to content · ⁨コンテンツへスキップ⁩

Functions · ⁨関数⁩

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.
日本語

関数は1つの値を返す

  • 関数は手続きに似ており、1つの値も手渡します。
  • 定義でその値の型を指定します: RETURNS INTEGER 。
  • RETURN は値を設定します。通常、関数の最終行にあります。

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP