- Main Page
- Namespaces
- Files

- File List
- File Members

# C:/Musimathics_local/Musimat/MusimatTutorial/B0105.cpp File Reference

`#include "MusimatTutorial.h"`

Go to the source code of this file.

## Functions
| MusimatTutorialSection (B0105)

## Function Documentation

MusimatTutorialSection | ( | B0105 |  | ) |

Definition at line 2 of file B0105.cpp.

    00002                               {
    00003 Print("*** B.1.5 Variables ***");
    00004 /*****************************************************************************
    00005
    00006 B.1.5 Variables
    00007
    00008 Variables are named places to store data. Names are indicated by one or more upper- or lower-case
    00009 letters, like Q, n, or fred. Alphabetic case is significant, so fred  denotes a different variable than
    00010 does Fred. Numbers can also be used in variable names (for example,  Fred33), but the first letter
    00011 of a variable name may not be a number.
    00012
    00013 Since they physically embody data, variables occupy space and time. Variables flow into
    00014 existence when they are defined, and generally hold their value until the end of the program
    00015 unless additional steps are taken to change their value or to restrict their existence to a certain
    00016 region of the program.
    00017
    00018 Here are some examples of Integer and Real variables.  The examples also show the initialization
    00019 of the variables with initial constant values using the assignment operator '='.
    00020
    00021 *****************************************************************************/
    00022
    00023 Integer a = 3;  // Define variable a and assign it an initial value of 3
    00024 Real b = 3.14;  // Define variable b and assign it an initial value of 3.14
    00025
    00026 }}