[Lazarus] JCF bug

Aradeonas aradeonas at operamail.com
Sun Oct 4 16:32:32 CEST 2015


Hi,

Just saw this problem that if you miss character it will cause
Lazarus crash :

> unit Unit1;
>
> {$mode objfpc}{$H+}
>
> interface
>
> uses  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;
>
> type  TForm1 = class(TForm)  private    { private declarations }
> public    { public declarations }  end;
>
> type  TgardQuality = (gLow, gMedium, gHigh, gVeryHigh);
>
> const  TgardQualityNames: array[TgardQuality] of string =    ('low,//<-----------------------------------------------------
> - if you miss ' it will crash    'medium',    'high',
> 'veryhigh'    );
>
> var  Form1: TForm1;
>
> implementation
>
> {$R *.lfm}
>
> end.
>
>

Please test it if you have this problem too.

Regards, Ara

-- 
http://www.fastmail.com - Same, same, but different...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151004/16e185ec/attachment-0002.html>


More information about the Lazarus mailing list