Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Generic-swap/PowerShell/generic-swap-1.psh
Normal file
1
Task/Generic-swap/PowerShell/generic-swap-1.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$b, $a = $a, $b
|
||||
3
Task/Generic-swap/PowerShell/generic-swap-2.psh
Normal file
3
Task/Generic-swap/PowerShell/generic-swap-2.psh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
function swap ([ref] $a, [ref] $b) {
|
||||
$a.Value, $b.Value = $b.Value, $a.Value
|
||||
}
|
||||
1
Task/Generic-swap/PowerShell/generic-swap-3.psh
Normal file
1
Task/Generic-swap/PowerShell/generic-swap-3.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
swap ([ref] $a) ([ref] $b)
|
||||
Loading…
Add table
Add a link
Reference in a new issue