Added code highlighting for while loop (#31676)

pull/27457/head^2
Robin Ferguson 2019-03-05 00:26:31 +00:00 committed by Randell Dawson
parent 11a5ac26d8
commit 797a425665
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ Line-by-Line Explanation of the above code:
## Infinite Loops:
As previously noted, a 'while' loop will run until the conditional logic is false. Because of this, it is important to set a "false" condition within the executable code. If no false is included, the while loop will run infinitely. Use caution when setting logic parameters to prevent the infinite loop unless that is the desired output.
As previously noted, a `while` loop will run until the conditional logic is false. Because of this, it is important to set a "false" condition within the executable code. If no false is included, the `while` loop will run infinitely. Use caution when setting logic parameters to prevent the infinite loop unless that is the desired output.
A simple example of this would be as follows: