Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Posh
0.1.4
TipsAndTricks/LoopLabels.Tip.ps1
# Loops can have labels!
:GameLoop
do
{
if
(
$Game
.
Playing
)
{
continue
GameLoop
}
}
while
(
$false
)
# This makes it easier to control when a loop exits.