You can use this page to test simple code. You must be running Internet
Explorer to use this page. Type code in the box and click the button to
run. After testing your code click "Back" in your browser. See the
detailed explanation below.
VB Script is a language used in web pages. While VB Script is a
scripting language and does not support many of the objects included in VB.Net,
it is essentially the same with respect to fundamental logic and looping
. When writing VB Script keep the following in mind:
-
Use alert("message
here")instead of messagebox.show("...").
-
Use document.write("message here")
instead of console.write("...")
-
Do not declare variable's type. Use
Dim a instead of Dim
a as int16
-
Use <br>
instead of vbcrlf and use
  to create a space.
-
Do not assign a value when you declare a variable. The following is not
legal: Dim a = 3
For example. Type the following in the text box and click the
button:
Dim i
for i = 1 to 10
if i <> 5 then
document.write(i & "<br>")
end if
next
After you test your code, click "Back" in your browser to return to this page.