X-Git-Url: http://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=Test.obn;h=c039f87259a54823da72904d8cacb593996e0b7c;hp=8c3a8d1458efc80ddf4837c106b664b70a3abfae;hb=9531d399c60190a8daf625dd99f9c141753bba5e;hpb=9f8036eb00032fa7f756113365cb42e05ab262df diff --git a/Test.obn b/Test.obn index 8c3a8d1..c039f87 100644 --- a/Test.obn +++ b/Test.obn @@ -1,18 +1,11 @@ MODULE Test; -IMPORT Out; - VAR - msg : ARRAY 20 OF CHAR; + x : PROCEDURE(i : INTEGER); + +PROCEDURE X(a : INTEGER); +END X; 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; + x := X; END Test.