|
Lim Hock-Chai wrote: > > Personally, I think zip code calculation is easier then using a file to tell > you the next seq#. > > The getNextCANZip proc that I posted before should do the calculation you > needed. You simply passed the current zip code and it will return the next > zip code back to you for comparison. > > eval nextZip = getNextCANZip('A1Z9') > > nextZip is then contain A2A0. > I agree. It would allow the basic calculation to be almost identical to the US version, with the call to getNextCANZip replacing the line where you add one for the US zip code.
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.