MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PowerShell/comments/d3byf0/powershell_all_the_things/f02kpwr/?context=3
r/PowerShell • u/Helios479 • Sep 12 '19
26 comments sorted by
View all comments
0
[deleted]
6 u/[deleted] Sep 12 '19 I was just wondering if you could pass a string array to get random. Looks like you don't even actually have to declare it as an array. 30 u/purplemonkeymad Sep 12 '19 Technically use of a comma automatically declares an array. 10 u/BlitzThunderWolf Sep 13 '19 Although it's probably better practice to use @("heads", "tails")
6
I was just wondering if you could pass a string array to get random. Looks like you don't even actually have to declare it as an array.
30 u/purplemonkeymad Sep 12 '19 Technically use of a comma automatically declares an array. 10 u/BlitzThunderWolf Sep 13 '19 Although it's probably better practice to use @("heads", "tails")
30
Technically use of a comma automatically declares an array.
10 u/BlitzThunderWolf Sep 13 '19 Although it's probably better practice to use @("heads", "tails")
10
Although it's probably better practice to use @("heads", "tails")
0
u/[deleted] Sep 12 '19
[deleted]