|
Larry Loen wrote: > The main thing missing from our object strategy was inheritance. This > obscures some of the object properties we do have. When you have an API or > even a command that says "DLTPGM", you really have a member function, just > spelled awkwardly and with no inheritance. DLTPGM does not work on a file > by mistake, for example. If you had it in API form and passed it a system > pointer to a file object, it would say "wrong type". That's as enforceable > as any C++ or Java member function. Maybe more so. > In OS/400 the CPP of most DLT* commands are identical, and if not restricted by security level, one can easily create a DLTOBJ command (which would sometimes be very handy). +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dr2@cssas400.com +---
As an Amazon Associate we earn from qualifying purchases.
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.