浏览代码

* added comment what the bug is

peter 21 年之前
父节点
当前提交
faf7082d45
共有 1 个文件被更改,包括 3 次插入2 次删除
  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