VBScript TutorialIntroductionVBScript Editors VBScript Syntax VBScript Variables VBScript Arrays VBScript Date VBScript If Statements VBScript Select Case VBScript While Loop VBScript For Loop VBScript Operators VBScript Functions Summary
$1.99 Domain Names
With every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99. |
VBScript While LoopIn VBScript (and virtually all other languages), "loops" enable your program to continuously execute a block of code for a given number of times, or while a given condition is true. The VBScript While Loop executes code while a condition is true. Example While LoopThis example displays a the value of a counter while the count is less than or equal to 8.
This results in:
Hours worked: 0
Hours worked: 1 Hours worked: 2 Hours worked: 3 Hours worked: 4 Hours worked: 5 Hours worked: 6 Hours worked: 7 Hours worked: 8 Home time! Exlanation of code
|
Need Website Content?
Get unique, quality digital content for your website.
|