A variable is something that can hold and remember information for you. It is represented by the suitcase block.
You can put a piece of information into a variable. Set the Action to "Write". A variable can only hold one piece of information at a time, so if you already have information in the variable, it will get overwritten (lost) if you put new information in it.
To get the saved information out of the variable, set the "Action" to "Read". The saved information will remain in the variable until it is rewritten.
A variable can only hold one type of information: either text, numeric or logic (true/false).
You can create named variables. This is very helpful because it allows you to give the variable a name that helps you remember what information it is holding for you. To create a new variable name:
To use the new variable you created, add a variable block (suitcase) and in the type list, select the name of the new variable.