comp.lang.ada
 help / color / mirror / Atom feed
From: Jere <jhb.chat@gmail.com>
Subject: Re: Image attribute (yet again)
Date: Tue, 28 Apr 2020 06:03:28 -0700 (PDT)
Date: 2020-04-28T06:03:28-07:00	[thread overview]
Message-ID: <f653c10d-44b5-48be-8c1a-005115cfd717@googlegroups.com> (raw)
In-Reply-To: <r88gta$edb$1@dont-email.me>

On Tuesday, April 28, 2020 at 2:02:20 AM UTC-4, J-P. Rosen wrote:
> Le 27/04/2020 à 16:10, Jere a écrit :
> >> This feature requires that if you write a number in a certain base, then
> >> you need to recognize the base when reading. So it's not an error, but a
> >> design decision. Of course, like any design decision, you may agree with
> >> it or not.
> > As I have thought about this more, I don't think I see the need
> > for the "16#" and associated for this functionality to work.  If you
> > are using the reflective Get to the Put, that knows the base.  The
> > text doesn't need to specify it. If you want something more runtime
> > adaptive, then sure, but for pure reflective Get/Put it isn't needed
> > that I can tell.  In the case where a more runtime adaptive strategy
> > is desired, that is where I would have expected the language to want
> 
> Huh? The Get procedure has no parameter for the base, it accepts
> whatever is in the file.
> 
> The design principle is that you are precise on output, and tolerant on
> input. Same idea with 'Image (required to be upper case) and 'Value
> (accepts any case).
> 
> -- 
> J-P. Rosen
> Adalog
> 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
> Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
> http://www.adalog.fr

Yeah, I misread the RM as having the base on Get as well.

  reply	other threads:[~2020-04-28 13:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20 15:24 Image attribute (yet again) Stephen Davies
2020-04-25 22:35 ` Stephen Davies
2020-04-26  6:05   ` J-P. Rosen
2020-04-26 14:16     ` Jere
2020-04-26 17:09       ` Jeffrey R. Carter
2020-04-26 17:33         ` Jere
2020-04-27 12:33           ` J-P. Rosen
2020-04-27 12:50             ` Jere
2020-04-27 13:42               ` J-P. Rosen
2020-04-27 14:05                 ` Jere
2020-04-27 14:55                 ` Jeffrey R. Carter
2020-04-28  6:04                   ` J-P. Rosen
2020-04-27 14:10             ` Jere
2020-04-28  6:02               ` J-P. Rosen
2020-04-28 13:03                 ` Jere [this message]
2020-04-26 18:40       ` Oliver Kellogg
2020-04-26 18:42         ` Oliver Kellogg
2020-04-26 18:43           ` Oliver Kellogg
2020-04-27 12:52         ` Jere
2020-05-20  1:52       ` Shark8
2020-04-26 18:57     ` Stephen Davies
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox