#include "MusimatTutorial.h"Go to the source code of this file.
Functions | |
| MusimatTutorialSection (B0110) | |
| MusimatTutorialSection | ( | B0110 | ) |
Definition at line 2 of file B0110.cpp.
00002 { 00003 Print("*** B.1.10 Relations ***"); 00004 /***************************************************************************** 00005 00006 B.1.10 Relations 00007 00008 Relational operators compare numeric values. For example, in the expression x < y, if y is greater 00009 than x, the value of the expression is True; otherwise the value of the expression is False. Other 00010 relational operations include > for greater than, <= for less than or equal, and >= for greater than 00011 or equal. 00012 00013 Because = has already been given the meaning of assignment, we must choose another way to 00014 express equality, which we do by putting two equals signs together: ==. For example, the expres- 00015 sion x == y is True if x and y have the same value. 00016 00017 Inequality is expressed by !=, so for example, x != y is True if x and y have different values. 00018 00019 *****************************************************************************/ 00020 }}
1.4.7