|
Hi Buck -
4b 0 saves one digit in memory compared to 10i.
??? 4b 0 takes four bytes. 10i takes four bytes. Using 4b 0 doesn't save any memory.
But I automatically recommend that people use 10i, because that 4b is like a CHAIN without checking the indicator. Moving to the 10i costs nothing and the code becomes compliant with external data sources and APIs.
Where I know the number can never be negative, like an array index, occurrence, relative record number, etc., I prefer to use u rather than i. This more than doubles the upper limit over an i (doubled + 1). Ken Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.
As an Amazon Associate we earn from qualifying purchases.
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.