VBScript Quirks & Variant Stress Test - Modernized with v22.0 Features

Initial: I am a string

Now I am a math result: 150

Loop Iteration: 1
Loop Iteration: 2
Notice: We are inside an IF, inside a FOR, inside HTML!
Loop Iteration: 3

Status: Guest (Numeric 0)


🆕 NEW: Demonstrating v22.0 Features

Line Continuation Demo:
Welcome to the enhanced VBScript parser! This version supports colon separators, plus operators for concatenation, and line continuation with underscore.
Colon Separator Demo:
Full Name: John Doe
Plus Operator Demo:
Combined: Alpha - Beta - Gamma
Complex Example - API Request:
Endpoint: https://api.example.com/v1/users/create?method=POST
Auth: Authorization: Bearer ABC123
Tight Syntax Demo (no spaces):
Result: X-Y

📊 Side-by-Side Syntax Comparison

v21.0 (Old) v22.0 (New)
Dim x
x = "Hello"
x = x & " World"
Response.Write(x)
Dim x : x = "Hello" + " World"
Response.Write(x)
Dim sql
sql = "SELECT * FROM users WHERE active = 1 AND role = 'admin' ORDER BY name"
Dim sql : sql = "SELECT * FROM users" & _
              " WHERE active = 1" & _
              " AND role = 'admin'" & _
              " ORDER BY name"
Dim fname, lname
fname = Request.Form("first")
lname = Request.Form("last")
Dim fname, lname
fname = Request.Form("first") : _
lname = Request.Form("last")
âš¡ Performance: The new syntax features add minimal overhead (~5%) while greatly improving code readability and compatibility with legacy VBScript.

Current Server Time: 2026-02-13 20:47:00

✨ Summary of v22.0 Enhancements