LOTUSSCRIPT LANGUAGE
For example, here is the executable part of the sub from the preceding example, revised to use If...GoTo (there is no Else clause in this case):
approx! = .25 iters% = 0 ReIter: iters% = iters% + 1 tempProx! = approx! approx! = .25 ^ tempProx! If Abs(tempProx! - approx!) >= .0001 And iters% < 40 _ GoTo ReIter Print approx!, Abs(approx! - tempProx!), "Iterations:" iters%
See Also