Mattias Gaertner wrote:
On Wed, 29 Mar 2006 14:17:41 +0300
barko <[EMAIL PROTECTED]> wrote:


If I try to create resource string with this tool, I got this error message:

List index (-1) out of bounds.

On linux, latest fpc (2.1.1, from svn), latest lazarus (from svn).

Example:

---cut---

var
  Form1: TForm1;

resourcestring
   test1 = 'test';

implementation

{ TForm1 }

procedure TForm1.Button1Click(Sender: TObject);
begin
  caption:='bla bla';  //<-- try make resource string (from tools menu)
end;


Works with fpc 2.0.2.
Maybe a bug in fpc 2.1.1?


As it happens, I just posted a bug report about resourcestrings with fpc 2.1.1: http://www.freepascal.org/bugs/showrec.php3?ID=5001

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to