Doug Chamberlin wrote: > The assert procedure might be useful for this. For example, place > these lines at the beginning of each string handling function: > > Assert(Length(Char)=1,'This function not checked for unicode!'); > > Then, when you do get around to checking the function for > compatibility with unicode you can remove the assert call.
Another one which has come up on the Codegear newsgroups is using FillChar when you really meant ZeroMemory. Number of bytes zeroed will be different... Cheers, David -- SatSignal software - quality software written to your requirements Web: http://www.satsignal.eu Email: [EMAIL PROTECTED] _______________________________________________ Delphi mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

