Pascal Programming Shortnote
Pascal Programming Shortnote
Operator Precedence
Data Types in Pascal
When executing pascal expressions. The order of which the
Data types identify the type of content a variable, constant operators are executed is known as the operator
or and array can have inside the memory. precedence.
Const pi=3.147;
Selections (Conditional statements)
Operators
IF Conditions
The following basic types of operators are used in Pascal.
If N1 > N2 then
Algebra Operators Large := N1
Else
+ Addition Large := N2;
- Subtraction
* Multiplication