Browse Source

* hmmm... it is luck (BSS zeroed with GAS) that DoError and ErrorBase work.
Now they are initilized instead.

carl 27 years ago
parent
commit
004bb57ae9
1 changed files with 8 additions and 4 deletions
  1. 8 4
      rtl/inc/system.inc

+ 8 - 4
rtl/inc/system.inc

@@ -28,10 +28,10 @@
 type
 type
   FileFunc = Procedure(var t : TextRec);
   FileFunc = Procedure(var t : TextRec);
 
 
-var
+const
 { For Error Handling.}
 { For Error Handling.}
-  DoError   : Boolean;
-  ErrorBase : Longint;
+  DoError   : Boolean = FALSE;
+  ErrorBase : Longint = 0;
 
 
 {****************************************************************************
 {****************************************************************************
                     Include processor specific routines
                     Include processor specific routines
@@ -440,7 +440,11 @@ End;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.17  1998-07-02 12:53:09  carl
+  Revision 1.18  1998-07-02 13:01:55  carl
+    * hmmm... it is luck (BSS zeroed with GAS) that DoError and ErrorBase work.
+      Now they are initilized instead.
+
+  Revision 1.17  1998/07/02 12:53:09  carl
     * DOERROR RESOTRED! DON'T TOUCH :)
     * DOERROR RESOTRED! DON'T TOUCH :)
 
 
   Revision 1.16  1998/07/02 12:11:50  carl
   Revision 1.16  1998/07/02 12:11:50  carl