2
0
Эх сурвалжийг харах

* support 'x1f' and 'X1f' for hex notation in val() (Delphi compatibility,
mantis 8177)

git-svn-id: trunk@6204 -

Jonas Maebe 18 жил өмнө
parent
commit
6c578f55df
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      rtl/inc/sstrings.inc

+ 3 - 1
rtl/inc/sstrings.inc

@@ -670,7 +670,9 @@ begin
   if code<=length(s) then
    begin
      case s[code] of
-      '$' : begin
+      '$',
+      'X',
+      'x' : begin
               base:=16;
               inc(code);
             end;