|
-
May 15th, 2002, 03:34 PM
#1
Thread Starter
Addicted Member
toughy, if you can handle it click here
how would one convert this Visual Basic Code into JavaScript?
Dim counter As Integer
Dim counter1 As Integer
Dim counter3 As Integer
Dim x As Integer
Dim i As Integer
Dim strLockerOpenClosed As String
List1.Clear
i = 1
Do Until counter3 > 60
For x = 0 To 60 Step i
truefalse(x) = Not truefalse(x)
Next x
i = i + 1
counter3 = counter3 + 1
Loop
-
May 15th, 2002, 04:35 PM
#2
Frenzied Member
Re: toughy, if you can handle it click here
Code:
var i = 1;
for (var counter3 = 0; counter3 <= 60; counter3++) {
for (var x = 0; x <= 60; x++) {
truefalse[x] = !truefalse[x];
}
i++;
}
'Course, I'm not sure why you would do any of that.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 15th, 2002, 04:55 PM
#3
Thread Starter
Addicted Member
math problem
I answered a mathmatical word problem with basic code, but due to my schools security system for the computers, it would not let me run any outside EXEs, so i need to put it in a web page to display the answers . Just in case you were wondering
-
May 15th, 2002, 05:00 PM
#4
Frenzied Member
Well, IE can handle VBScript. I don't know on which platforms. I understand that IE has been ported to MacOS and Solaris, but I don't know it its support for VBScript went with it.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|