Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
1
Task/Generic-swap/PowerShell/generic-swap-1.ps1
Normal file
1
Task/Generic-swap/PowerShell/generic-swap-1.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
$b, $a = $a, $b
|
||||
3
Task/Generic-swap/PowerShell/generic-swap-2.ps1
Normal file
3
Task/Generic-swap/PowerShell/generic-swap-2.ps1
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.ps1
Normal file
1
Task/Generic-swap/PowerShell/generic-swap-3.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
swap ([ref] $a) ([ref] $b)
|
||||
Loading…
Add table
Add a link
Reference in a new issue