Arrays in other languages are 0 based because that is the way computers see
them.  They are 1 based in CF because that is the way people normally think.  CF
is a language that is easy for "non-programmers" to learn, and non-programmers
think like a person instead of a computer.  Doesn't that make sense?

Loyd Campbell





Nathan Stanford <[EMAIL PROTECTED]> on 04/23/2001 11:41:51 AM

Please respond to [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:    (bcc: Loyd W Campbell/TX/ONE)
Subject:  RE: Arrays



And I always thought they were zero based... Wonder why the change from the
norm.

Nathan Stanford
Senior Programmer/Analyst
[EMAIL PROTECTED]


> -----Original Message-----
> From:   Marlon Moyer [SMTP:[EMAIL PROTECTED]]
> Sent:   Monday, April 23, 2001 11:42 AM
> To:     '[EMAIL PROTECTED]'
> Subject:     RE: Arrays
>
> In CF 4.5.2, I'm unable to set an element 0, only elements 1 and up.
>
> So, what I'm trying to say is that Arrays in CF are 1 based.
>
> -----Original Message-----
> From: Schreck, Tom [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 11:26 AM
> To: '[EMAIL PROTECTED]'
> Subject: Arrays
>
>
> Quick question on arrays - are they zero based?
>
> Thanks
>
> Tom Schreck
> [EMAIL PROTECTED]
> 817-252-4900
>
> I have not failed. I've just found 10,000 ways that won't work.
> - Thomas Edison
>
>
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org







-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to