[Javascript] I

Guillaume javascript at webdesignofficina.com
Wed Jul 6 15:13:28 CDT 2005


Thanks Travis.
Nice explanation...
Guillaume.

>this is usually used in a for loop.  Example is
>
>for(i=0; i<somecollection.length;i++){
>	var x = somecollection[i];
>}
>
>now what is happening here is you have a counter "i" that is initialized to
>0.  the collection (array for example) has a length associated with it.
>This then lets you iterated over the collection increasing i each time.  The
>i++ just means add one to i each time until i=>then length.  hth.  
>
>as for " By the way does this list accept and tolerate newbies posts... ?"
>I have no idea what the official list policy is but as long as I think
>someone is asking something to learn and not just to get their work done for
>them I try and answer... that is when I know the answer and that isn't very
>often.  ;-)  HTH
>
>Travis D. Falls | Consultant   RAFT.Net   IT | 860.547.4070 |
>travis.falls at thehartford.com
>
>
>-----Original Message-----
>From: javascript-bounces at LaTech.edu
>[mailto:javascript-bounces at LaTech.edu]On Behalf Of Guillaume
>Sent: Wednesday, July 06, 2005 11:00 AM
>To: [JavaScript List]
>Subject: [Javascript] I
>
>
>Hi there,
>
>could someone translate this to me as i see it very often used
>
>
>i = 0; i < bt_preimages.length; i++
>
>
>
>
>
>Thanks !
>
>Guillaume.
>
>Ps: By the way does this list accept and tolere newbies posts... ?
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
>*************************************************************************
>PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
>for the exclusive use of addressee and may contain proprietary,
>confidential and/or privileged information.  If you are not the intended
>recipient, any use, copying, disclosure, dissemination or distribution is
>strictly prohibited.  If you are not the intended recipient, please notify
>the sender immediately by return e-mail, delete this communication and
>destroy all copies.
>*************************************************************************
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>  
>




More information about the Javascript mailing list