×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




One thing on my wishlist are interfaces for RPG.

It could be something like this:

Create a copybook with some prototypes.
Add a keyword to your module which interface it tries to implement (reference to that copybook).
Let the compiler check if all procedure prototypes are implemented.
Use reflection to get a procedure pointer on the procedure.

ATM I can do this but without the compiler checking for the implementation. It would be nice if I could be sure that certain procedures are really implemented by a module at compile time (also with the correct parameters and return value, not just the name).

My 2 cents.

Mihael


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
Sent: Monday, January 11, 2010 3:27 PM
To: RPG programming on the IBM i / System i
Subject: Re: RPGV?

Using subprocedures - in fact, this might be better justification for
making everything free.

Vern

Simon Coulter wrote:
On 11/01/2010, at 6:45 PM, Åke Olsson wrote:


What really clutters the code today (and that makes me file crappy-
ish) is the constant "/FREE" and "/END-FREE" lines. It will be a
good day when those are gone.


Why do you have more than a single /FREE at the start of your C-Specs?
What are you doing that requires you to drop in and out of free-form?

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------





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-2026 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.