Classic ASP VbScript for loop provides you the functionality to execute the same code block for specified number of times. For loop also enables you to reduce the code length instead of writing same code lines number of times to display the desired output. The sample below shows how to run the for loop counter with increment in value each time. Try the sample below to learn and practice the VbScript For loop code: