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



> From: James Rich
>
> You are referring to the dynamic calls in RPG (at least I think you are),
> i.e. the CALL opcode.  In C there is no real equivalent, certainly nothing
> that can have multiple parameters that all get changed by the called
> program (other than the environment variable example I already mentioned).
> I won't argue with that.  However, it is interesting to note that more and
> more people are switching to bound calls (i.e. CALLP) which are the same
> as C's function calls.  Indeed, in my own programs I rarely use CALL at
> all.  But I make extensive use of eval variable=function(parms).

You're absolutely right here, James.  Personally, I think the concept of
functions in subprocedures is better than dynamic calls.  And while I forget
what the name is in Unix, I'm pretty sure the concept of a shared library
(like a DLL in Windows or SRVPGM in OS/500) is available.  But as I said,
the older concept of the dynamic call is prevalent among many programmers
and was a very important feature to pre-ILE environments.

However, there's still the issue of having one program call another.  One
standalone program cannot call another using a PLIST type of structure.  Is
that an issue?  Only for us old OPM dinosuars.  As the Hans's of the world
drag us kicking and screaming into the newer models, we'll probably forget
about the old PLIST entirely.

Joe



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.