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. _______________________________________________ Delphi mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

