Skip to content

Commit 166bc0c

Browse files
Apply suggestions from code review
Co-authored-by: Sean Wheeler <sean.wheeler@microsoft.com>
1 parent 19bdec3 commit 166bc0c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

reference/docs-conceptual/learn/ps101/06-flow-control.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ as long as the counter variable `$i` is less than 5. It sleeps for a total of 10
160160

161161
### Do
162162

163-
There are two different `do` loops in PowerShell. `Do Until` runs while the specified condition is
164-
false.
163+
There are two different `do` loops in PowerShell: `do until` and `do while`. `do until` runs until
164+
the specified condition is false.
165165

166166
The following example is a numbers game that continues until the value you guess equals the same
167167
number that the `Get-Random` cmdlet generated.
@@ -239,7 +239,7 @@ Write-Output $date
239239
Thursday, November 23, 2017 12:00:00 AM
240240
```
241241

242-
## Break, Continue, and Return
242+
## break, continue, and return
243243

244244
The `break` keyword is designed to exit a loop and is often used with the `switch` statement. In
245245
the following example, `break` causes the loop to end after the first iteration.

0 commit comments

Comments
 (0)