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