- Main Page
- Namespaces
- Files

- File List
- File Members

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

`#include "MusimatTutorial.h"`

Go to the source code of this file.

## Functions
| MusimatTutorialSection (B0128)

## Function Documentation

MusimatTutorialSection | ( | B0128 |  | ) |

Definition at line 2 of file B0128.cpp.

References x.

    00002                               {
    00003 Print("*** B.1.28 Comments ***");
    00004 /*****************************************************************************
    00005
    00006 B.1.28 Comments
    00007
    00008 It is always helpful to readers if programmers insert comments into their programs. In Musimat,
    00009 any text beginning with two slashes // out to the end of the line is commentary. For example:
    00010 *****************************************************************************/
    00011 Real a = 1, b = 2;
    00012
    00013 Real x = a + b; // this text is commentary
    00014
    00015 /*****************************************************************************
    00016 Sometimes it’s useful to be able to put a comment anywhere, even in the middle of an expres-
    00017 sion. All commentary between these delimiters is ignored.
    00018 *****************************************************************************/
    00019
    00020 x = a /* this commentary is ignored by musimat */ + b;
    00021
    00022 /*****************************************************************************
    00023 When the expression is evaluated, all commentary is ignored, so the resulting expression is x =
    00024 a + b;. Commentary between comment delimeters can extend over multiple lines of text, as necessary.
    00025
    00026 *****************************************************************************/
    00027 }}