Open dwhiteplume opened 1 year ago
Use parameter sets:
[CmdletBinding(DefaultParameterSetName = ‘Numbers’)] param( [Parameter( Mandatory = $true, ParameterSetName = ‘Numbers HelpMessage = ‘’, Position = 0 )] [int32]$Sides )
So, make Numbers, Fudge, and Coin.
Numbers
Fudge
Coin
How do we handle multiple coin flips? Mostly trues means true and vice versa?
Use parameter sets:
So, make
Numbers
,Fudge
, andCoin
.How do we handle multiple coin flips? Mostly trues means true and vice versa?