On 07/19/2010 11:40 AM, Hans-Peter Diettrich wrote:
One requirement in a transformation into OOP is the replacement of all affected procedures by methods, and of many (currently global) reference variables by class members. When e.g. later multiple parser instances are created, one for every unit to compile, the current compiler directive handling should be redesigned.

Does somebody have experience with (lists of) procedural variables?


Any ideas?

While I in fact don't understand the meaning of your post:

Regarding OOP, would it not be better to do lists of objects with class procedures instead of lists of procedural variables. So these classes would be children of a parent class and you can do a clean list (TList derivate, array or whatever) of same.


-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to