×

Good News Everybody!

The new search engine is LIVE!

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




but is there any performance issue with 55 pointers? forget the program and
maintenance factors for a minute...will it jeopardize the execution of the
order entry program?

thanx much,

rick


From: "trevor perry" <trevorp@looksoftware.com>
Reply-To: midrange-l@midrange.com
To: <midrange-l@midrange.com>
Subject: Re: Parameters vs. Data Structure? Date: Fri, 27 Sep 2002 17:15:46
-0500

Since parameters are passed using pointers, you are going to pass one
pointer or 55 pointers. Makes for an easier decision.

Another idea: use an external file to define your data structure for even
better maintenance...


----- Original Message -----
From: "Leif Svalgaard" <leif@leif.org>
To: <midrange-l@midrange.com>
Sent: Friday, September 27, 2002 5:06 PM
Subject: Re: Parameters vs. Data Structure?


> From: Rick Rayburn <the400man@hotmail.com>
> > Got a program calling another program with 55 parameters being passed
> > between each
> > 2. would I be better served with 1 field being passed and then split
into a
> > 55 field data structure upon entry/re-entry?
>
> forget about machine-efficiency, think human-efficiency.
> Organize the parameters into an input set and a return set
> then structure 1 input parameter with multiple fields, and
> 1 return parameter with multiple fields. Organize things so
> that they make sense to the maintenance programmer.

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.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-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.