This content has been marked as final. Show 3 replies
Use code tags when you post code.
// If exchange is set to false then does the rest of the code block execute?No.
No reason for that to be in the code, however perhaps the author modifies the code later, as an example, and then it becomes more relevant.
// If exchange is set to false then does the rest of the code block execute?If the while loop condition is false the block it controls doesn't execute.
it will always be executed at least once.
The moment the condition is reset to true however it turns into an infinite loop.
Something tells me this isn't what the author of the code intended it to be