i can’t think of another solution of that other that a long function with a lot of ifs, maybe that is the correct approach, because the algorithm is not known a priori (before reading the file)
i can’t think of another solution of that other that a long function with a lot of ifs, maybe that is the correct approach, because the algorithm is not known a priori (before reading the file)