ข้ามไปยังเนื้อหา

World 4: Functions

English

Patterns with names

  • Some move patterns come back again and again: a hop over a tree, a set of stairs.
  • Give the pattern a name once. Then use the name.

Words for this world

Word Meaning
function a named block of code you can use many times
parameter a value you give to the function
call run the function by its name

เข้าสู่ระบบหรือสร้างบัญชี

IGCSE, A-Level & AP