RosettaCodeData/Task/Find-limit-of-recursion/VBScript/find-limit-of-recursion-2.vb
2013-04-11 11:14:19 -07:00

14 lines
205 B
VB.net

'mung.vbs
option explicit
sub mung(c)
dim n
n=c+1
wscript.echo "[Level",n & "] Mung until no good"
on error resume next
mung n
on error goto 0
wscript.echo "[Level",n & "] no good"
end sub
mung 0