Explorar o código

* added comment what the bug is

peter %!s(int64=21) %!d(string=hai) anos
pai
achega
faf7082d45
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      tests/webtbs/tw3063.pp

+ 3 - 2
tests/webtbs/tw3063.pp

@@ -3,14 +3,15 @@
 { e-mail: [email protected] }
 program scope;
 
-{$mode delphi}
+{$ifdef fpc}{$mode delphi}{$endif}
 
-uses classes;
+uses Classes;
 
 var
   error: string;
 begin
   with TStringList.Create do try
+    { TStringList.Error is protected and is not visible }
     error := 'some text';
     WriteLn( error );
   finally