Browse Source

+ Fix for extractdelimited

michael 20 years ago
parent
commit
8df5db089e
1 changed files with 6 additions and 2 deletions
  1. 6 2
      rtl/objpas/strutils.pp

+ 6 - 2
rtl/objpas/strutils.pp

@@ -170,6 +170,7 @@ const
   DigitChars = ['0'..'9'];
   DigitChars = ['0'..'9'];
   Brackets = ['(',')','[',']','{','}'];
   Brackets = ['(',')','[',']','{','}'];
   StdWordDelims = [#0..' ',',','.',';','/','\',':','''','"','`'] + Brackets;
   StdWordDelims = [#0..' ',',','.',';','/','\',':','''','"','`'] + Brackets;
+  StdSwitchChars = ['-','/'];
 
 
 implementation
 implementation
 
 
@@ -1134,7 +1135,7 @@ begin
         begin
         begin
         inc(l);
         inc(l);
         SetLength(Result,l);
         SetLength(Result,l);
-        Result[Len]:=S[i];
+        Result[L]:=S[i];
         end;
         end;
       end;
       end;
     inc(i);
     inc(i);
@@ -1529,7 +1530,10 @@ end.
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.9  2004-07-21 20:37:03  michael
+  Revision 1.10  2004-12-30 18:12:43  michael
+  + Fix for extractdelimited
+
+  Revision 1.9  2004/07/21 20:37:03  michael
   + Implemented all functions
   + Implemented all functions
 
 
   Revision 1.8  2004/07/13 18:42:39  michael
   Revision 1.8  2004/07/13 18:42:39  michael