t_string.mod 224 B

12345678
  1. MODULE tstring;
  2. // gm2's pervasive opaque String type (pointer-like).
  3. VAR s, t : String;
  4. VAR ExitCode : INTEGER;
  5. BEGIN
  6. s := NIL; t := s;
  7. IF (s = NIL) AND (t = NIL) THEN ExitCode := 42 ELSE ExitCode := 1 END
  8. END tstring.