× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: OO in RPG
  • From: Paul Tuohy <tuohyp@xxxxxxxxxxxxx>
  • Date: Fri, 01 Dec 2000 18:10:20 +0000

Steve, you can write RPG code to simulate encapsulation - especially if you look
at externalising file handling etc. But no luck with inheritence or polymorphism
or...........

When free format RPG comes along, I think you may start to see some code that
bears a striking resemblence to Java.

Paul Tuohy

Steve Brazzell wrote:

> Brad,
>
> Using ILE is good advice--no argument there--but just how does this "get you
> close" to OO?  Perhaps you could elaborate a little on this as, IMHO,
> RPG-ILE has no OO features, to speak of.
>
> Steve Brazzell
>
> -----Original Message-----
> From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
> Behalf Of Stone, Brad V (TC)
> Sent: Friday, December 01, 2000 1:47 PM
> To: 'RPG400-L@midrange.com'
> Subject: RE: OO in RPG
>
> Yes, use ILE (suprocedures, service programs mainly).  It'll get you close,
> but it's not true OO (Object Overkill.. <bg>).
>
> Brad
>
> > -----Original Message-----
> > From: Alistair Rooney [mailto:alistairr@tbsa.co.za]
> > Sent: Friday, December 01, 2000 2:34 AM
> > To: AS400 Listserv (E-mail)
> > Subject: OO in RPG
> >
> >
> > Does anyone have any ideas (Brad Stone, Joe Pulta, Hans
> > Boldt) how to write
> > RPG code in a way that simulates an Object Orientated approach?
> >
> > TIA
> >
> > Alistair Rooney
> > Software Engineer
> > Tibbett & Britten Africa
> > +27 31 2047701
> >
> > A lottery is just a tax on people who are bad at math
> >
> >
> >
> >
> >
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> >
> > www.mimesweeper.com
> > **********************************************************************
> > +---
> > | This is the RPG/400 Mailing List!
> > | To submit a new message, send your mail to RPG400-L@midrange.com.
> > | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> > | To unsubscribe from this list send email to
> > RPG400-L-UNSUB@midrange.com.
> > | Questions should be directed to the list owner/operator:
> > david@midrange.com
> > +---
> >
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.