comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: How do functions return unbounded arrays?
Date: 1998/06/21
Date: 1998-06-21T00:00:00+00:00	[thread overview]
Message-ID: <dewar.898439720@merv> (raw)
In-Reply-To: 6m80o6$9st$1@erlang.praxis-cs.co.uk


Gavin said

<<They are in general forbidden in SPARK.
However, the "&" operator is allowed on string literals as you would expect a
compiler to handle this case statically.
>>

That is really an Ada 83 comment (SPARK is still somewhat Ada 83 oriented!)
In Ada 95, it is a requirement of the language that & on string literals
(actually more accurately on static string expressions -- a useful 
extension not permitted as far as I remember by SPARK) are required to
be handled statically.





  parent reply	other threads:[~1998-06-21  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-14  0:00 How do functions return unbounded arrays? Markus Kuhn
1998-06-14  0:00 ` Robert A Duff
1998-06-15  0:00 ` John Herro
1998-06-17  0:00   ` Mark D. McKinney
     [not found]   ` <35865075.9D7DCBD@cl.cam.ac.uk>
1998-06-17  0:00     ` Gavin Finnie
1998-06-17  0:00       ` Rod Chapman
1998-06-21  0:00         ` Robert Dewar
1998-06-21  0:00         ` Robert Dewar
1998-06-21  0:00       ` Robert Dewar [this message]
1998-06-17  0:00     ` Matthew Heaney
1998-06-21  0:00       ` Robert Dewar
1998-06-18  0:00     ` Mats Weber
1998-06-21  0:00       ` Robert Dewar
1998-06-17  0:00   ` Matthew Heaney
1998-06-21  0:00   ` Robert Dewar
replies disabled

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