Skip to content

Commit 9a9aaca

Browse files
+ assignment
1 parent 5a44aea commit 9a9aaca

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
set-strictMode -version 3
2+
3+
$num = 2
4+
5+
$txt = switch ($num) {
6+
1 { 'one' }
7+
2 { 'two' }
8+
3 { 'three' }
9+
}
10+
11+
write-host "txt = $txt"

0 commit comments

Comments
 (0)