[lazarus] CVS Updated
Baeseman, Cliff
Cliff.Baeseman at greenheck.com
Tue May 25 10:52:11 EDT 1999
Has anyone tried this...
Writeln('test' + inttoStr(2))
This will alway throw error.
Cliff
-----Original Message-----
From: Michael Van Canneyt [mailto:michael.vancanneyt at wisa.be]
Sent: Tuesday, May 25, 1999 8:28 AM
To: lazarus at miraclec.com
Subject: Re: [lazarus] CVS Updated
On Tue, 25 May 1999, Shane Miller wrote:
>
>
> >>> Michael Van Canneyt <michael.vancanneyt at wisa.be> 05/25 4:51 AM >>>
>
>
> On Mon, 24 May 1999, Michael A. Hess wrote:
>
> > Shane Miller wrote:
> > >
> > > 2) Run it, if you CAN open a file then go into the EDITOR.pp file and
> > > comment out line number 337 (a writeln) and run it again. Does it
> > > crash? Mine does.
> > >
> > > Can anyone figure out why commenting out a WRITELN would cause it to
> > > crawsh?
> >
> > It isn't the writeln that is causing the problem it is the IntToStr that
> > is causing the problem. Comment out the writeln and replace it with
> > something like
> >
> > temp := InttoStr(3);
> >
> > where temp was defined as an integer.
> >
> > You will see that it now also still works correctly. It looks like
> > something with strings is being fixed with the IntToStr call.
>
> >>Nope, temp ansistring management :(
>
> So what can be done about this?
Make MINIMAL code that reproduces this, and we'll fix it ASAP.
And by MINIMAL I understand a standalone program that can be compiled
with the minimum of neede units. I.e. no FCL, GTK etc.
(just trying to lure you out of 'compile lazarus, line .. in ..' :-) )
Florian has done a MAJOR overhaul of the ansistrings code, but apparently,
not
everything has been fixed yet :(
Michael.
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
More information about the Lazarus
mailing list