Browse Source

* shortstring=string type added

peter 27 years ago
parent
commit
e47964d613
2 changed files with 15 additions and 16 deletions
  1. 5 10
      rtl/inc/system.inc
  2. 10 6
      rtl/inc/systemh.inc

+ 5 - 10
rtl/inc/system.inc

@@ -296,7 +296,7 @@ begin
     TAbstractErrorHAndler(AbstractErrorHAndler);
     TAbstractErrorHAndler(AbstractErrorHAndler);
   Runerror(211);
   Runerror(211);
 end;
 end;
-  
+
 Function IOResult:Word;
 Function IOResult:Word;
 Begin
 Begin
   IOResult:=InOutRes;
   IOResult:=InOutRes;
@@ -463,17 +463,12 @@ end;
 {$i setjump.inc}
 {$i setjump.inc}
 
 
 
 
-{*****************************************************************************
-      Exception support.
-*****************************************************************************}
-
-{ No go, because objpas needed :( (MVC) }
-{ $i except.inc}
-
-
 {
 {
   $Log$
   $Log$
-  Revision 1.33  1998-09-16 13:08:03  michael
+  Revision 1.34  1998-09-22 15:30:54  peter
+    * shortstring=string type added
+
+  Revision 1.33  1998/09/16 13:08:03  michael
   Added AbstractErrorHandler
   Added AbstractErrorHandler
 
 
   Revision 1.32  1998/09/16 12:37:07  michael
   Revision 1.32  1998/09/16 12:37:07  michael

+ 10 - 6
rtl/inc/systemh.inc

@@ -63,15 +63,16 @@ Type
 {$endif}
 {$endif}
 
 
 { some type aliases }
 { some type aliases }
-  dword    = cardinal;
-  longword = cardinal;
+  dword       = cardinal;
+  longword    = cardinal;
+  ShortString = String;
 
 
 { Zero - terminated strings }
 { Zero - terminated strings }
-  PChar  = ^Char;
-  PPChar = ^PChar;
+  PChar       = ^Char;
+  PPChar      = ^PChar;
 
 
 { procedure type }
 { procedure type }
-  TProcedure = Procedure;
+  TProcedure  = Procedure;
 
 
 const
 const
 { max. values for longint and int}
 { max. values for longint and int}
@@ -387,7 +388,10 @@ Procedure halt;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.31  1998-09-20 17:49:09  florian
+  Revision 1.32  1998-09-22 15:30:55  peter
+    * shortstring=string type added
+
+  Revision 1.31  1998/09/20 17:49:09  florian
     * some ansistring fixes
     * some ansistring fixes
 
 
   Revision 1.30  1998/09/17 16:34:17  peter
   Revision 1.30  1998/09/17 16:34:17  peter