|
I don't think any of these things are like the other. If you ask me, the closest thing would be VB: mid$(b,2,2) = format(a, "00000") At least, the thought process for writing this code is about the same as that of "%subst(b:2:2) = %editc(a:'X')" On Mon, 10 Feb 2003, Joe Pluta wrote: > > Hmmm. Let's play the old Sesame Street game: one of these things is not > like the other. > > A. %subst(b : 2 : 2) = %editc(a : 'X'); > B. sprintf(temp, "%02d", a); > memcpy(b, temp, 2); > C. MOVE A B > > The music starts... "One of these things is not like the other, one of these > things just doesn't belong. Can you guess which thing is not like the > other, by the time I finish my song?" > > Which do you think someone would select?
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.