Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,16 @@
MODULE D1;
VAR x* : INTEGER (* x is visible (read-only) in other modules *)
y, z : BOOLEAN; (* y and z are not visible to other modules *)
PROCEDURE P1*; (* P1 can be called from other modules *)
VAR lv1, lv2 : INTEGER;
PROCEDURE Sub1;
BEGIN (* Sub1 body *)
(* lv1, lv2 not visible here *)
END Sub1;
BEGIN (* P1 body *)
(* x, y, z, lv1, lv2 and Sub1 visible here *)
END P1;
BEGIN (* D1 body *)
(* x, y, z and P1 visible here *)
END D1.

View file

@ -0,0 +1,6 @@
MODULE U1;
IMPORT D1;
VAR v1, v2 : INTEGER;
BEGIN
(* as well as v1 and v2, D1.x and D1.P1 are visible here *)
END U1.