Difference between while(!key) and while(key)

closed account (iyRG3TCk)
Can anyone tell me the difference between while(!key) and while(key)??
The former is a loop that runs while key is false/zero; the latter is a loop that runs while key is true/non-zero.
closed account (iyRG3TCk)
Thnx! helios.
Topic archived. No new replies allowed.