I see. I thought that While and For were considered functions in this sense.
I am trying to find the the first i > 0 such that, for a function f, f[n] == 0. It was my understanding that the alternatives you provided do not qualify because the iteration is technically unbounded.
This is the implementation I was hoping to use:
answer = For[i = 1, True, i++, If[f[n, i] == 1, Return[i]]]
I suppose Break may be of some use here, since i is not scoped in this case (strange as that may be).