On 2010-10-09 16:22, Hans-Peter Diettrich wrote:
The variables have been replaced by (getter) functions, with some added procedures for updating their values - this is where getter/setter pairs are inapplicable for structured types, or require too many consequential changes for using pointers instead of plain variables. If somebody can suggest a less intrusive solution, more global variables can be moved.
Would you consider turning those structured types into objects?
Properties with getter/setter pairs would make tracing (placing a breakpoint in the getter/sertter would help identify the caller) easier.
Cheers, Adem _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel