Main About Download Documentation Resources

Declare Shape

Default Appearance

What it Does

A Declare Statement is used to create variables and arrays. These are used to store data while the program runs.

Example

The example, to the right, declares two variables: area (which stores real numbers) and radius (which stores integers). It then uses an Assignment Statement to set the 'radius' to 7. Finally, it computes the area of a circle and stores the result in 'area'.