[lazarus] Shane's Class Self Error's

Michael A. Hess mhess at miraclec.com
Mon May 10 13:10:02 EDT 1999


Shane Miller wrote:
> 
> Seems like either SELF isn't passing or because I am holding the
> objects in a TStringList that the procedure calls are not working
> right.  Still not sure if it's the compiler or me.

Uh-Oh. If you are using a TStringList then that is more than likly what
is causing your problem. TStringList which in turn uses AnsiStrings has
some really nasty bug buried down inside some place. Michael VC is
trying to find it and it is on the offical bug list. In my case I have
had it mess up the program so that standard for..do loops would not
work. I had to rewrite code to use repeat..until. If I had to make a
guess it is this that is causing your problem. As a test set the {$H+}
option at the top of your code and see if that doesn't help.

This is the same problem that makes TIniFiles fail at times.

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list