[Javascript] For/Next loop

Keith Levenson klevensonk at netscape.net
Thu May 31 14:22:26 CDT 2001


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/




More information about the Javascript mailing list