TERRA Tech Support		     		        27-Mar-92
=================================================================

Subject : Wrong documentation about HALT-Statement
Ref     : Language Reference chapter 8.8
--------------------------------------------------

The documentation about the HALT(status : CARDINAL)-Statement
is wrong. See following code:

MODULE Halt1;
(* Problems with wrong implementation of M2LIB.Error module 
   reagarding to HALT
   M2 V4.00 *)
BEGIN
 HALT (1);  (* should produce errorlevel 1, but displays a WARNING message *)
END Halt1.

MODULE Halt2;
BEGIN
 HALT (2); (* according to doc's it should produce errorlevel 1, 
              but displays a STOPPED  message *)
END Halt2.

MODULE Halt100;
(* Problems with wrong implementation of M2LIB.Error module 
   reagarding to HALT
   M2 V4.00
*)
IMPORT MED; (* try with or without! *)
BEGIN
 HALT (100); (* should produce errorlevel 100, 
                but displays a garbage message at xxxx:yyyy garbage address,
                or even crahes the system.
                
                With MED a dump file is written (316k PMD for 31k EXE!?!)
                but neither source nor error position is displayed in
                the PMD windows.
             *) 
END Halt100.
