• Subject: Re: Is ILE-RPG is Object Oriented Programming Language?
  • From: Balaji Venkataraman/commsoft<bvenkata@xxxxxxxxxxxx>
  • Date: Thu, 14 Jan 1999 14:04:42 -0500


>My opinion is that RPG-ILE is an Object-based language (like C). ILE-RPG
>supports encapsulation but does not support inheritance or polymorphism.
>Object Oriented Programming Languages support  encapsulation, inheritance
>and polymorphism.

>No flame here, just curious. What is about ILE RPG that you think is
>object-based?

>rp

Roger,
The reason why I think RPG IV is object-based is that it supports 
encapsulation to a certain degree.  "C" is called object based for the same 
reason. A good example of encapsulation in RPG IV would be a function that 
converts binary into decimal and vice-versa. The implementors of this 
function (object) dont really care how the binary-decimal conversion takes 
place. The only thing the implementors need to know is the specifications 
(parms, arguments) of the binary-decimal converter.
Balaji
bvenkata@commsoft.net

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].