YOMEDIA
Cú pháp của PL/0 mở rộng Program
Chia sẻ: Nam Trinhviet
| Ngày:
| Loại File: PDF
| Số trang:3
104
lượt xem
10
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
Cú pháp của PL/0 mở rộng
PROGRAM Ident ; Block
AMBIENT/
Chủ đề:
Nội dung Text: Cú pháp của PL/0 mở rộng Program
- Cú pháp của PL/0 mở rộng
Program
PROGRAM Ident ; Block
Block
CONST Ident = Number
,
;
VAR Ident [ Number ]
,
;
; Block ;
PROCEDURE Ident ( VAR Ident )
;
BEGIN Statement END
;
- Statement
Ident := Expression
[ Expression ]
CALL Ident ( Expression )
,
BEGIN Statement END
Statement ;
ELSE Statement
IF Condition THEN Statement
WHILE Condition DO Statement
FOR Ident :=
Expression TO
Expression DO Statement
Expression
+
Term
-
+
Term
-
- Term
Factor
*
Factor
/
Expression
+
Term
-
+
Term
-
Condition
ODD Expression
=
>
>=
Expression Expression
<
Thêm tài liệu vào bộ sưu tập có sẵn:
Báo xấu
LAVA
ERROR:connection to 10.20.1.101:9315 failed (errno=111, msg=Connection refused)
ERROR:connection to 10.20.1.101:9315 failed (errno=111, msg=Connection refused)
Đang xử lý...