home *** CD-ROM | disk | FTP | other *** search
- MODULE International;
-
- IMPORT io;
-
- VAR
- string: ARRAY 80 OF CHAR;
-
- CONST
- (* $IF English *)
- hallo = "Hello!";
- nochmal = "once again?";
- (* $ELSE *)
- hallo = "Hallihallo!";
- nochmal = "nochmal?";
- (* $END *)
-
- BEGIN
- REPEAT
- io.WriteString(hallo); io.WriteLn;
- io.WriteString(nochmal); io.ReadString(string);
- (* $IFNOT English *)
- UNTIL (string#"ja") & (string#"j");
- (* $ELSE *)
- UNTIL (string#"yes") & (string#"y");
- (* $END; *)
- END International.
-
-