i need help, i have to read a list like this ["1", "2", "3"]
and make a list of integer of it [1,2,3]
so i use read
.
the problem is, when the list looks like ["1", "2", "a"]
the programm quits because of the error that there is a char in it.
how to check or throw an error to prevent this error?