|
>>Who cares? Readability, maintainability, understandability!!! >> >>If I never again have to pour through calcs thinking "OK, now what sets 29? >> No setons, no results - hmmm. Here is a movea to *in,20. Is it long enough >>to affect 29? No? well here is a movea to *in,15 and it is a 16 char field so >>it might set 29 depending upon its 15th postion. Now what affects the 15th >>position of the 16 char field that....." ever again I will pay the >>.00000000000000000001% of the total lifetime processing power of our 400 that >>is utterly, flagrantly, WASTED by using seton. > MOVEA #OFF20 *IN,20 is clearly understandable when #OFF20 is defined by standard as a named constant of 20 characters of character 0 and by standard the first thing that is done after an EXFMT is to set off the eror indicators on the screen. We use this technique more because it is absolutely clear what it does and it uses far fewer lines of code. The fact that the performance of MOVEA is better than SETOFF is irrelevant given the nano-seconds of execution time difference. > >True wisdom! Make the code readable, and don't bother with shaving >nano-seconds off of operations that can be executed 50,000 times in under a >minute. > >> >>Just my $.02, Lance > >Ah, but worth so much more. > Charlie Massoglia, Massoglia Technical Consulting, Inc. PO Box 1065, Okemos, MI 48854, USA 517-676-9700 Fax: 517-676-1006 EMAIL: cmassoglia@voyager.net * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-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 mailing list archive is Copyright 1997-2025 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.