× 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: Prototyping printf()
  • From: jpcarr@xxxxxxxxxxxx
  • Date: Tue, 26 Sep 2000 07:21:23 -0400



<snip>
The rules would be defined in the ILE environment, not in each language.
The rule triggers at the static or dynamic check.  The rule may be
deactivated if the programmer knows (or thinks they know) what they are
doing.   The rules are an externally visible attribute of each module or
program and can be extracted using an API query.
<SNIP>
Richard Jackson


Richard,Jon, Barb, et al

Could something like PCML  be used to externally define the interface
between functions?

On the Sys/38 and AS/400 I used externally defined D/S's  as a feeble
attempt to externalize the definition of the interface to function to
function call.  The interface definition was external to the programs so
each language idiosyncrasies could be mapped (like you said) by the
environment(ILE) to map character variables to Null strings an such.

Would this type of an approach be more inline with Java etc?

My parameter list in RPG would be defined externally like I was trying to
do with Ext. D/S's with default values,etc  abeit with limited success.
BTW, this is why I pushed a long time ago for having subfields of an ext.
desc D/S initialized from the DDS default values so they could be defined
external to the programs.

John Carr



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


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.