8
An argument is any area in a block that accepts user input, or another block. It could be a Boolean Block or a value placed inside of a variable or block. A variable is a changeable value recorded in Scratch's memory. Variables can only hold one value at a time, unlike lists. These values can be either numbers or strings any text. Clicking on an isolated variable in the scripts area displays a small bubble reporting the value of the variable. Unlike many other programming languages, variables must be created prior to when the project actually runs. This only results in a small amount of RAM being used to store the value for use when the project actually runs. Variables are created with the button in the Variables palette.

argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50

An argument is any area in a block that accepts user input, or another block. It could be

a Boolean Block or a value placed inside of a variable or block.

A variable is a changeable value recorded in Scratch's memory. Variables can only hold one value at a

time, unlike lists. These values can be either numbers or strings — any text. Clicking on an isolated

variable in the scripts area displays a small bubble reporting the value of the variable. Unlike many other

programming languages, variables must be created prior to when the project actually runs. This only

results in a small amount of RAM being used to store the value for use when the project actually runs.

Variables are created with the button in the Variables palette.

Page 2: argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50
Page 3: argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50
Page 4: argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50
Page 5: argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50
Page 6: argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50
Page 7: argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50
Page 8: argument - MS. SALVO'S SITE€¦ · ing numbers and text, for a program to access as needed. In Figure 5-3, for example, we depict a variable named side whose current value is 50