Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] For/Next loop


  • From: javascript@xxxxxxxxxx (Keith Levenson)
  • Subject: [Javascript] For/Next loop
  • Date: Thu, 31 May 2001 15:22:26 -0400

Thanks, Peter!  I guess I need to pick one language or the other.


>Keith,
>
>    It looks like you have an Esperanto-type hybrid VBScript/JavaScript
>construction here.  JavaScript For... loops look something like this:
>
>for (y=0;y<=5;y+1) {   // the parameters are (initialization, test,
>increment)
>
>    }
>
>    Unlike VBscript, there is no ending word in these statements; the >braces
>act as delimiters.  AFAIK, there's no UBound function either, but you can
>get around that.
>    See http://msdn.microsoft.com/scripting/ for a good explanation of the
>necessaries in JavaScript/JScript.
>
>Cheers,
>
>Peter
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/