function myrecursion(depth::Int,arg)
if depth>=2
return nothing
else
println(arg)
@info("myrecursion was called (depth=$(depth))")
return myrecursion(depth+1,arg)
end
end
myrecursion(0,"foo")
0
function myrecursion(depth::Int,arg)
if depth>=2
return nothing
else
println(arg)
@info("myrecursion was called (depth=$(depth))")
return myrecursion(depth+1,arg)
end
end
myrecursion(0,"foo")
0