× 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: Initialized data structures?
  • From: DAsmussen@xxxxxxx
  • Date: Sun, 1 Nov 1998 20:27:16 EST

Tim,

In a message dated 98-11-01 19:44:57 EST, you write:

> If I have (3) programs that call each other like this:
>  PGM001 ----> PGM002 ----> PGM003
>  And these programs cycle from PGM001 up to PGM002 then to PGM003 to get
>  information filled into a DS (data structure) described in all 3
>  progams.  Is it only necessary to do the IDS (to init the numeric
>  subfields) in PGM001 only?
>  What recommendations can you offer?  I appreciate all!

Ummm, I know what you meant but, as stated, "it depends".  Is the data
structure in the *ENTRY PLIST of PGM002 and PGM003?  If so, do programs 2 and
3 do anything "funky" with the data structure after it arrives (like moving
*BLANKS into it)?  If the answers are yes and no, respectively, then yes,
PGM001 is the only one that should have to initialize it.  Another thing to be
careful of is not using externally defined data structures -- one mis-key for
start and end positions, and you've toasted the whole structure.  As mentioned
before, CLEAR and RESET work well where needed (_especially_ in a multiple-
occurrance data structure).

HTH,

Dean Asmussen
Enterprise Systems Consulting, Inc.
Fuquay-Varina, NC  USA
E-Mail:  DAsmussen@aol.com

"Jimi Hendrix was the first rocker on the Internet, his modem was a purple
Hayes." -- Unknown
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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.