[Javascript] strange things in javascript world
Iztok Polanic
iztokp at amis.net
Fri Aug 9 09:02:03 CDT 2002
Hi!
I was doing this at 1am and I didn't notice it. :(
Bye,
Iztok
----- Original Message -----
From: "Michael Ledig" <hobbes_tiger at gmx.de>
To: <javascript at LaTech.edu>
Sent: Friday, August 09, 2002 12:06
Subject: Re: [Javascript] strange things in javascript world
> Hi anand,
>
> anand schrieb:
> >
> > hi
> >
> > pl change "==" in the for loop with "=" ie
> > j==stPoglavi to j=stPoglavi.
>
> you better don't do that. his says to JavaScript, that with every loop,
> the variable j is set to stPoglavi!
>
> If you have this condition in your for, your for loop while run forever.
>
>
> I think you need something like j<=stPoglavi or j>=stPoglavi.
>
> You count the variable j from 1 so i think you need "j<=stPoglavi"
>
> HTH and greetings
> Mike.
>
> --
> Training und Projekte
> http://www.gidel.de
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
More information about the Javascript
mailing list