Programming-Idioms

History of Idiom 2 > diff from v84 to v85

Edit summary for version 85 :
New VB implementation by user [EvilGenius]

Version 84

2019-09-26, 21:38:14

Version 85

2019-09-26, 21:43:09

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration
Imports
system.io
Code
for x = 1 to 10
    console.writeline("Hello")
next x
Comments bubble
Iterate from 1 to 10; print Hello on a new line