Multiple choice technology testing

What is the keyword used to define how the counter variable in a or lext loop increments?

  1. A. ++

  2. B. Next

  3. C. Skip

  4. D. Step

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The Step keyword in VBScript For loops defines how the counter variable increments. Default increment is 1, but Step allows custom increments like Step 2 (count by 2) or Step -1 (count backwards). The Next keyword marks the end of the loop body, ++ is not valid VBScript, and Skip is not a loop keyword.