$results = getInput( -prompt=>"Enter a number between 1 and 10: ", -type=>INTEGER, -LTE=>10, #less than or equal to -GTE=>1, #greater than or equal to -maxTries=>10);