Re: OT: Why is C so popular?

From: Pigeon (jah.pigeon_at_ukonline.co.uk)
Date: 08/30/03

  • Next message: Pigeon: "Re: OT: Why is C so popular?"
    Date: Sat, 30 Aug 2003 02:58:37 +0100
    To: debian-user@lists.debian.org
    
    
    

    On Fri, Aug 29, 2003 at 04:44:33PM -0700, Steve Lamb wrote:
    > On Fri, 29 Aug 2003 20:01:23 +0100
    > Pigeon <jah.pigeon@ukonline.co.uk> wrote:
    > > Oh, that's interesting - the for loop's running from 0 to 9, so it
    > > prints "81", not "100".
    >
    > Yes, range(x) does 0 to x-1. This is for stuff like this (and this is a
    > bad example)...
    >
    > for x in range(10):
    > baz[x] = foo[x] + bar[x]

    ...so array indices work like C, then. OK!

    -- 
    Pigeon
    Be kind to pigeons
    Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Pigeon: "Re: OT: Why is C so popular?"

    Relevant Pages

    • Re: Anti-Spam ideas for usenet/list harvested email addresses
      ... ...sulphuric acid, on the other hand, is really tasty. ... Be kind to pigeons ... Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
      (Debian-User)
    • Re: 100s of blank pages
      ... Doh! ... Be kind to pigeons ... Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • Re: [ot] Linux gender in French
      ... So someone taught Microsoft French? ... Be kind to pigeons ... Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
      (Debian-User)
    • Re: How can I stop the console from blanking
      ... > has global effect upon bootup? ... Be kind to pigeons ... Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
      (Debian-User)
    • Re: burning CDs, or, Ah, now ESRs rant makes sense . . .
      ... ...use a CD-RW? ... Be kind to pigeons ... Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
      (Debian-User)