Re: How feasible would this programme be to write?

From: KLinZ (klinz_at_NOSPAMMERTSzenobits.com)
Date: 12/10/03


Date: Wed, 10 Dec 2003 13:47:18 +0100

Peter wrote:

>> It's simple:
>>
>> for(i=0; ;i++) {
>> convert i to a 'number' with base 26 and add the value of 'A' to
>> each digit
>> }
>
> And then, with a red face and a huge piece of humble pie, explain to
> the customer why this fails on an EBCDIC based system.

True, true. Next time I will tag it with <ASCII assumed>

> And, while
> you're at it, explain to the customer why this only prints one
> character at a time instead of combinations of characters.

Depends on your interpration of 'convert i to a number'.

-- 
www.zenobits.com


Relevant Pages

  • Re: SQLwaterheadretard3 (Was: Is it just me, or is Sqlite3 goofy?)
    ... since you seem to believe that a "customer number" is a string ... CustNo integer, ... ALL character! ...
    (comp.lang.python)
  • Re: Compare string with a relevancy factor (VB 6.0 or VB .Net)
    ... respectable amount of time on a large database would be extremely difficult. ... superfluous character inserted ... closer keys are always closer in the n-dimensional space. ... > sources into one customer response system. ...
    (microsoft.public.vb.general.discussion)
  • Re: Problem with VFP 9
    ... It will get the last customer credit info and sometimes even three ... The last character must ... So the first time I send the field information its ok.. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Net::SSH2 scp_put not working!
    ... If a character is late, however, ... the remote command completed -- the readline returned undef any time ... there was no output waiting to be read, ... Customer: "No, I need to know how to do a backup. ...
    (comp.lang.perl.misc)
  • Re: OT Ordering from Amazon.cn
    ... consumer data in the two countries. ... I was already an amazon.com customer ... I had hoped this arrangement would ... will possibly go through it character by ...
    (alt.usage.english)