comp.lang.ada
 help / color / mirror / Atom feed
* Variable declarations with "constant"?
@ 2005-10-06 12:59 Maciej Sobczak
  2005-10-06 14:29 ` Jean-Pierre Rosen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maciej Sobczak @ 2005-10-06 12:59 UTC (permalink / raw)


Hi,

<http://www.adaic.org/standards/95aarm/html/AA-3-3-1.html>

30 Examples of variable declarations:
31
[...]

Hello       : constant String := "Hi, world.";

In what way is Hello a variable?


-- 
Maciej Sobczak : http://www.msobczak.com/
Programming    : http://www.msobczak.com/prog/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Variable declarations with "constant"?
  2005-10-06 12:59 Variable declarations with "constant"? Maciej Sobczak
@ 2005-10-06 14:29 ` Jean-Pierre Rosen
  2005-10-06 14:56 ` Jacob Sparre Andersen
  2005-10-09  5:23 ` Brian May
  2 siblings, 0 replies; 4+ messages in thread
From: Jean-Pierre Rosen @ 2005-10-06 14:29 UTC (permalink / raw)


Maciej Sobczak a �crit :
> Hi,
> 
> <http://www.adaic.org/standards/95aarm/html/AA-3-3-1.html>
> 
> 30 Examples of variable declarations:
> 31
> [...]
> 
> Hello       : constant String := "Hi, world.";
> 
> In what way is Hello a variable?
> 
> 
This is fixed in the Ada2005 reference manual

-- 
---------------------------------------------------------
            J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Variable declarations with "constant"?
  2005-10-06 12:59 Variable declarations with "constant"? Maciej Sobczak
  2005-10-06 14:29 ` Jean-Pierre Rosen
@ 2005-10-06 14:56 ` Jacob Sparre Andersen
  2005-10-09  5:23 ` Brian May
  2 siblings, 0 replies; 4+ messages in thread
From: Jacob Sparre Andersen @ 2005-10-06 14:56 UTC (permalink / raw)


Maciej Sobczak wrote:

> <http://www.adaic.org/standards/95aarm/html/AA-3-3-1.html>
>
> 30 Examples of variable declarations:
> 31
> [...]
>
> Hello       : constant String := "Hi, world.";
>
> In what way is Hello a variable?

In the sense of misprints, I suppose.

Jacob
-- 
     My brain needs a "back" button so I can
         remember where I left my coffee mug.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Variable declarations with "constant"?
  2005-10-06 12:59 Variable declarations with "constant"? Maciej Sobczak
  2005-10-06 14:29 ` Jean-Pierre Rosen
  2005-10-06 14:56 ` Jacob Sparre Andersen
@ 2005-10-09  5:23 ` Brian May
  2 siblings, 0 replies; 4+ messages in thread
From: Brian May @ 2005-10-09  5:23 UTC (permalink / raw)


>>>>> "Maciej" == Maciej Sobczak <no.spam@no.spam.com> writes:

    Maciej> Hello : constant String := "Hi, world.";

    Maciej> In what way is Hello a variable?

Define "variable".

Hello would be a variable as per XSLT's definition of the word, which
is justified using the mathematical meaning.

It gets confusing when one word has multiple means....
-- 
Brian May <bam@snoopy.apana.org.au>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-09  5:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-06 12:59 Variable declarations with "constant"? Maciej Sobczak
2005-10-06 14:29 ` Jean-Pierre Rosen
2005-10-06 14:56 ` Jacob Sparre Andersen
2005-10-09  5:23 ` Brian May

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