Thank you Vincent. -------------------------------------------------- From: "Vincent Snijders" <[EMAIL PROTECTED]> Sent: Monday, July 21, 2008 10:22 AM To: "General mailing list" <[email protected]> Subject: Re: [Lazarus] TStringList error
> Bob K. schreef: >> I'm getting the error: *unit1.pas(48,3) Warning: Local variable "List" >> does not seem to be initialized* >> >> Here's the code (which used to work): > > Then you were unbelievable lucky. > > list := TStringList.Create is missing. > > If it used to work, then you the uninitialized variable list was pointing > to a > memory location in the heap, contained valid (or at least non-crash > causing) > information and updating that upformation, e.g. the count value of the > list didn't > cause a crash. Extremely lucky. > > Next time, try adding the -gt option, to decrease your chances on such > luck and get > a crash sooner rather than later. > > Vincent > _______________________________________________ > Lazarus mailing list > [email protected] > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
