While

While[testbody]
evaluates body as long as test evaluates to True.
While[test]
runs the loop without any body.
Compute the GCD of two numbers: