Procedures

Procedures

Procedures are a set of instructions that perform a specific function. Procedures are a very important concept in any programming language. Procedures, often called functions, are either:

1) built-in to the language or environment (primitives) OR

2 ) defined and created by you, the programmer, for the computer to use

Creating Procedures is a basic principle in programming. We use and create procedures to help break up our code for it to be:

    • readable

    • reusable

Below you will see some basic procedures created in Turtle Art by using the yellow "hat" block. It is called a hat block because it is placed on top.