Location:
Search - PL0design
Search list
Description: 编译原理课程设计:(2)扩充赋值运算:+= 和 -=
(3)扩充语句(Pascal的FOR语句):
①FOR <变量>:=<表达式> TO <表达式> DO <语句>
②FOR <变量>:=<表达式> DOWNTO <表达式> DO <语句>
其中,语句①的循环变量的步长为1,
语句②的循环变量的步长为-1。
Platform: |
Size: 583314 |
Author: 风飘零 |
Hits:
Description: 编译原理课程设计:(2)扩充赋值运算:+= 和 -=
(3)扩充语句(Pascal的FOR语句):
①FOR <变量>:=<表达式> TO <表达式> DO <语句>
②FOR <变量>:=<表达式> DOWNTO <表达式> DO <语句>
其中,语句①的循环变量的步长为1,
语句②的循环变量的步长为-1。
-Principles of curriculum design compiler: (2) the expansion of assignment operator:+ = And-= (3) the expansion of expressions (Pascal s FOR statement): ① FOR <variable>: = <expression> TO <expression> DO <statement> ② FOR <variable>: = <expression> DOWNTO <expression> DO <statement> of which the cycle of statement ① variable step size is 1, the cycle of statement ② variable step size for the-1.
Platform: |
Size: 582656 |
Author: 风飘零 |
Hits: