Total credit for this should goes to one of my team members,
warning : Once you execute below code, you might have to manually restart the computer, so think twice before executing.
IF MyRec.FINDFIRST THEN REPEAT
In compilers view last line will look like below
UNTIL (IF Value = TRUE);
That means loop will get executed as long as condition output value is false, and as the condition gets true, compiler will jump out of the loop and execute the rest of the code.
If we provide a condition which will never going to get true, then this will turn into a infinite loop and will result in using all the resource available in the computer.
This is a very small fact and just wanted to share, since it is bit interesting.
Please provide your feedback with a comment.
Thank you and Regards,
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?