Predict This code is split into two sections. The main program is on the left and a procedure on the right.The sprite costumes are on the right of the screen. Think carefully about each part of the program and what Read More …
Category: Procedures
Shape – Looping Adaptable Procedures
Adaptable procedures extend ‘My Blocks’ by passing values to the procedures, which are used as variables. In the code here, the ‘Shape 4 60’ block calls the Shape procedure (set of instructions) passing two values to it. These are then Read More …
Shape – Adaptable Procedures
My Blocks allows you to define a sequence of actions which are performed when called. In programming this is called a ‘procedure’. Adaptable procedures extend ‘My Blocks’ by passing values to the procedures, which are used as variables. In the Read More …