X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=4bde081725ba53658bd7868205734120600492d7;hb=75d0fd92a5342358f37ed9369ccce9355273e51a;hp=0b020f71a79862e5a3510e07528b982ea6a21749;hpb=879793eaf1d6378593f78a192f2961670f686530;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index 0b020f7..4bde081 100644 --- a/Test.obn +++ b/Test.obn @@ -1,11 +1,23 @@ MODULE Test; -IMPORT - Out, - System; +IMPORT Out; BEGIN - Out.Open; - Out.String("Hello World!"); Out.Ln; - System.Halt(1); + IF "abc" = "abc" THEN + Out.String("Equal abc = abc"); Out.Ln; + ELSE + Out.String("WAT: MUST BE abc = abc"); Out.Ln; + END; + + IF "cba" > "abc" THEN + Out.String("Great cba > abc"); Out.Ln; + ELSE + Out.String("WAT: MUST BE cba = abc"); Out.Ln; + END; + + IF "abc" < "bc" THEN + Out.String("Less abc < bc"); Out.Ln; + ELSE + Out.String("WAT: MUST BE abc < bc"); Out.Ln; + END; END Test.