Hi the goto needs to be defined within a function. The following works as intended
julia> function test()
h=-1
@label p
h+=1
if h<3
@goto p
end
println("Done")
end
test (generic function with 1 method)
julia> test()
Done
