Get the latest tech news
ASCII Lookup Utility in Ada
ASCII lookup utility in Ada
For this walkthrough I'll be working in a Unix-like environment (either Linux or macOS) in a terminal, so if you're using Microsoft Windows, you will need to adjust for Command Prompt or PowerShell. The second version of the program ( GitHub) introduces another nested procedure, Print_Row, which handles the printing of the information row for each ASCII character. The solution here is to make a procedure to print out the character code values in various bases with a constant width and zero-padded from the left as desired.
Or read this on Hacker News