On Thursday, 3 March 2022 at 07:32:24 UTC, BoQsc wrote:
I tried to use `std.conv.parse(args[2])`,
[...]
But I'm getting this error
The code doesn't declare the type to be parsed, use
`parse!uint(...)`.
But `to!uint` seems more appropriate for your code because
`parse` ignores non-number
I tried to use `std.conv.parse(args[2])`,
```
import std.stdio;
import std.conv;
void main(string[] args){
if (args.length > 1) {
writeln(broadcastSettingChange(args[1]));
if (args.length == 2) {
// TODO: second argument needs parse to