diff --git a/Test.obn b/Test.obn
index 8c3a8d1458efc80ddf4837c106b664b70a3abfae..0f09bade1d5103f0fca051137c9cc8b9dd5656e5 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Out;
+IMPORT CPStrings, Out;
VAR
- msg : ARRAY 20 OF CHAR;
+ s : ARRAY 80 OF CHAR;
BEGIN
- Out.Open;
- COPY("Hello World!", msg);
- Out.String(msg); Out.Ln;
- COPY("Hell!", msg);
- Out.String(msg); Out.Ln;
- COPY("The quick brown fox jumps over the lazy dog", msg);
- Out.String(msg); Out.Ln;
- msg := "Hello World!";
- Out.String(msg); Out.Ln;
+ CPStrings.IntToString(123456789, s);
+ Out.String(s); Out.Ln;
+ CPStrings.RealToString(321.123456, s);
+ Out.String(s); Out.Ln;
END Test.