+ 1
While Loops
In the sample code, why there is "while 1==1" ?? Help me please! Thanks
2 odpowiedzi
+ 4
It makes an infinite loop.
1==1 just means True.
Therefore, it is the same as "while True".
Now, why the sample code is written like that, I do not know. Please post link or reference to the sample code.
0
Thanks bro!