SLIDE 1
1
CSC 1800 Organization of Programming Languages
Expressions
2
CSC 1800 Organization of Programming Languages Expressions 1 - - PDF document
CSC 1800 Organization of Programming Languages Expressions 1 Introduction Expressions are the fundamental means of specifying computations in a programming language To understand expression evaluation, you need to be familiar with the
2
3
4
–
–
–
–
–
–
5
6
–
–
–
–
–
7
– Left to right, except **, which is right to left – Sometimes unary operators associate right to left (e.g., in
8
–
–
–
9
1.
2.
3.
4.
10
–
–
–
–
11
12
–
–
13
–
–
–
14
–
–
15
–
–
16
– When index=length, LIST [index] will cause an
17
18
19
20
21