Sorry for the delay in getting back - $DAYJOB and $ILLNESS combined.
On Mon, Nov 15, 2021 at 3:10 PM Jeffrey R.Carter <deleted> wrote:
On 2021-11-15 23:09, Ken Roberts wrote:
I was going to add before your reply that I'm trying to get output without the extra padding of showing the base.
Ada.Text_IO.Integer_IO and Ada.Text_IO.Modular_IO both declare
Default_Base : Number_Base := 10;
This is a variable, so you can change it.
However, that outputs in based-literal format.
You can use PragmARC.Images (
https://github.com/jrcarter/PragmARC) to
obtain images in any base without the base information. Image width and
zero filling are also provided.
--
Jeff Carter
Hmmm. After testing by setting the base manually after instantiation, still adds the based-literal information as noted.
So, it's either copy Modular_IO into my project (with renaming) and change the default base, or add another package to monitor for updates.
Fun either way.
Thanks for the help both Jeff and Ben. (Sincerely, not ironically).
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)