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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Ada

Ada

Photo of ASCII Lookup Utility

ASCII Lookup Utility

Related news:

News photo

The state of Rust trying to catch up with Ada [video]

News photo

How does Ada's memory safety compare against Rust?

News photo

Ada crate of the year 2024 announced