Browse Source

* Some delphi compatibility constants

Michaël Van Canneyt 1 year ago
parent
commit
df67c18f7d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      rtl/objpas/rtlconst.inc

+ 6 - 0
rtl/objpas/rtlconst.inc

@@ -18,6 +18,10 @@ unit RtlConsts;
 
 
 interface
 interface
 
 
+Const
+  SEmpty : string = 'Empty';  
+
+
 ResourceString
 ResourceString
 
 
 { ---------------------------------------------------------------------
 { ---------------------------------------------------------------------
@@ -33,6 +37,7 @@ ResourceString
   SAllButton                    = '&All';
   SAllButton                    = '&All';
   SAllFilter                    = 'All files';
   SAllFilter                    = 'All files';
   SAncestorNotFound             = 'Ancestor class for "%s" not found';
   SAncestorNotFound             = 'Ancestor class for "%s" not found';
+  SArgumentInvalid              = 'Invalid argument';
   SArgumentNil                  = 'Argument must not be nil';
   SArgumentNil                  = 'Argument must not be nil';
   SAssignError                  = 'Cannot assign a %s to a %s';
   SAssignError                  = 'Cannot assign a %s to a %s';
   SAsyncSocketError             = 'Asynchronous socket error: %d';
   SAsyncSocketError             = 'Asynchronous socket error: %d';
@@ -168,6 +173,7 @@ ResourceString
   SInvalidImage                 = 'Invalid stream format';
   SInvalidImage                 = 'Invalid stream format';
   SInvalidImageList             = 'Invalid ImageList';
   SInvalidImageList             = 'Invalid ImageList';
   SInvalidImageSize             = 'Invalid image size';
   SInvalidImageSize             = 'Invalid image size';
+  SInvalidKnownFilename         = 'Invalid filename - %s';
   SInvalidMask                  = '"%s" is not a valid mask at (%d)';
   SInvalidMask                  = '"%s" is not a valid mask at (%d)';
   SInvalidMemoSize              = 'Text larger than memo capacity';
   SInvalidMemoSize              = 'Text larger than memo capacity';
   SInvalidMetafile              = 'Invalid Metafile';
   SInvalidMetafile              = 'Invalid Metafile';