Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Arrays/PowerShell/arrays-1.psh
Normal file
1
Task/Arrays/PowerShell/arrays-1.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$a = @()
|
||||
2
Task/Arrays/PowerShell/arrays-2.psh
Normal file
2
Task/Arrays/PowerShell/arrays-2.psh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
$a = ,2
|
||||
$a = @(2) # alternative
|
||||
1
Task/Arrays/PowerShell/arrays-3.psh
Normal file
1
Task/Arrays/PowerShell/arrays-3.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$a = 1,2,3
|
||||
1
Task/Arrays/PowerShell/arrays-4.psh
Normal file
1
Task/Arrays/PowerShell/arrays-4.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$a += 5
|
||||
1
Task/Arrays/PowerShell/arrays-5.psh
Normal file
1
Task/Arrays/PowerShell/arrays-5.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$a[1]
|
||||
1
Task/Arrays/PowerShell/arrays-6.psh
Normal file
1
Task/Arrays/PowerShell/arrays-6.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$a[1] = 42
|
||||
1
Task/Arrays/PowerShell/arrays-7.psh
Normal file
1
Task/Arrays/PowerShell/arrays-7.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$r = 1..100
|
||||
1
Task/Arrays/PowerShell/arrays-8.psh
Normal file
1
Task/Arrays/PowerShell/arrays-8.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$r[0..9+25..27+80,85,90]
|
||||
1
Task/Arrays/PowerShell/arrays-9.psh
Normal file
1
Task/Arrays/PowerShell/arrays-9.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$r[-1] # last index
|
||||
Loading…
Add table
Add a link
Reference in a new issue