RosettaCodeData/Task/Jump-anywhere/PowerShell/jump-anywhere-2.psh

10 lines
261 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
:myLabel while (<condition 1>)
{
for ($item in $items)
{
if (<condition 2>) { break myLabel }
$item = $x # A statement inside the For-loop
}
}
$a = $c # A statement after the labeled While-loop