mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 05:28:07 +02:00
* added comment what the bug is
This commit is contained in:
parent
9df85a7290
commit
faf7082d45
@ -3,14 +3,15 @@
|
||||
{ e-mail: werner.bochtler@zkrd.de }
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user