Hour of Code: Code with Mary

Part 1: Got a New Gig

Learn About Variables


In programming, a variable is a container to store information that can be used at a later time.

In Quorum, there are four types of basic variables: text, number, integer and boolean. Each type of variable holds a different kind of information.

In this first example, we will create a text variable, which holds a text string of anything you want to type in. We'll explain the other types in the next sections.

Notice that a text string is enclosed in two double quotation marks.

Try it Yourself

Next Tutorial

In the next tutorial, we will discuss Hour of Code Part 2, which describes first steps in Quorum.