I'm trying to turn characters into integers in Ada, nothing seems to work, I've so far been able for it to return DEC from ASCII but I would like to return 0 (Integer).
Character'Pos('0');
returns 48 --I want it to return 0?
I'm trying to turn characters into integers in Ada, nothing seems to work, I've so far been able for it to return DEC from ASCII but I would like to return 0 (Integer).
Character'Pos('0');
returns 48 --I want it to return 0?