The mechanisms are obviously very different but the goal of reusing code is the same. Objects, be they static classes or more normal classes are clearly the more modern approach and have many, many advantages.
Include files are superficially attractive and easy to use but many of the things that make them "easy" are exactly the reasons why you should NOT be using them.
Hi Rasool,
Instead of writing same type of code again and again, we create an include file with different parameters and use it whenever we want to.
They are many types of procedures in progress like:
Internal, external, super, persistent..
You can go through progress handbook "Prohand" regarding the same.
Regards!
Rajat.