diff --git a/Test.obn b/Test.obn
index b80d7a15c3a490308c7b343ab2843e710f22efde..0f09bade1d5103f0fca051137c9cc8b9dd5656e5 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-TYPE
- R1 = RECORD END;
- R2 = RECORD (R1) END;
- R3 = RECORD END;
-
- P1 = POINTER TO R1;
- P2 = POINTER TO R2;
+IMPORT CPStrings, Out;
VAR
- a : R1;
- b : R2;
- c : R3;
- p1 : P1;
- p2 : P2;
+ s : ARRAY 80 OF CHAR;
BEGIN
- a := b;
- p2 := p1(P2);
- p1 := p2(P2);
+ CPStrings.IntToString(123456789, s);
+ Out.String(s); Out.Ln;
+ CPStrings.RealToString(321.123456, s);
+ Out.String(s); Out.Ln;
END Test.