langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
16
Task/Loops-Break/VBScript/loops-break.vbscript
Normal file
16
Task/Loops-Break/VBScript/loops-break.vbscript
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
do
|
||||
a = int( rnd * 20)
|
||||
wscript.stdout.write a
|
||||
if a = 10 then exit do
|
||||
b = int( rnd * 20 )
|
||||
wscript.echo vbnullstring,b
|
||||
loop
|
||||
|
||||
dim i
|
||||
for i = 1 to 100000
|
||||
a = int( rnd * 20)
|
||||
wscript.stdout.write a
|
||||
if a = 10 then exit for
|
||||
b = int( rnd * 20 )
|
||||
wscript.echo vbnullstring,b
|
||||
next
|
||||
Loading…
Add table
Add a link
Reference in a new issue