GIT
/
REPO
/
FRED-BOY
Projects
/
dsw-obn.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Добавлен тип SYSTEM.PTR
[dsw-obn.git]
/
Test.obn
diff --git
a/Test.obn
b/Test.obn
index f76917867cb0d1bcb880b7e0cf655f116919947f..0bad0ad763fe3b298b127518a3af3fbc2e878678 100644
(file)
--- a/
Test.obn
+++ b/
Test.obn
@@
-1,12
+1,12
@@
MODULE Test;
-VAR
- i : SHORTINT;
- s : SET;
+IMPORT SYSTEM;
-PROCEDURE X;
-END X;
+VAR
+ ptr : SYSTEM.PTR;
+ arr : POINTER TO ARRAY OF INTEGER;
BEGIN
- i := SHORT(12345);
+ NEW(arr, 20);
+ ptr := arr;
END Test.
DEADSOFTWARE 2012-2025