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



Two good(?) uses, a short list of values that never (tee hee) change like an
array to convert month numbers to month names, and error messages, function
key lists, or window titles for a short screen program.  Lately I've been
using constants for the error messages, function key lists, and window
titles, though.  

-----Original Message-----
From: boldt@ca.ibm.com [mailto:boldt@ca.ibm.com]
Sent: Tuesday, May 04, 1999 5:01 AM
To: RPG400-L@midrange.com
Subject: Re: Array question




Booth wrote:
>An example of a pre-execution array might be the States of the Union.
>That is fixed and you know right now what they are, so go ahead and load
>the array now and save some time and overhead later on.  An execution time
>array might be states in which customers live. Until you read the
>customer's address you won't know which states to load, so you have to
>fill that array while you are executing the program.
>
>
>In <199905031408.WAA07035@public.sta.net.cn>, on 05/03/99
>   at 09:59 PM, "Shen Jianjun" <ipacsjj@public.sta.net.cn> said:
>
>>How can understand the Pre-execution time array & Execution time array?
>>Could you give me one simple example?

BTW, the politically correct terms are "prerun-time array" and
"run-time array".  We haven't used the word "execution" in our
manuals in at least 15 years.

Do programmers still use prerun-time arrays in new apps?

Cheers!  Hans

Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  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.