comp.lang.ada
 help / color / mirror / Atom feed
From: gavin@praxis-cs.co.uk (Gavin Finnie)
Subject: Re: How do functions return unbounded arrays?
Date: 1998/06/17
Date: 1998-06-17T00:00:00+00:00	[thread overview]
Message-ID: <6m80o6$9st$1@erlang.praxis-cs.co.uk> (raw)
In-Reply-To: 35865075.9D7DCBD@cl.cam.ac.uk


In article <35865075.9D7DCBD@cl.cam.ac.uk>,
Markus Kuhn  <Markus.Kuhn@cl.cam.ac.uk> wrote:

>Are functions that return variable length arrays forbidden in
>Ada subsets for safety critical applications?

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.

Gavin Finnie                             email:  gavin@praxis-cs.co.uk
Praxis Critical Systems Ltd                                       
20 Manvers Street                        phone: +44-225-466991
Bath BA1 1PX, England                    fax:   +44-225-469006 




  parent reply	other threads:[~1998-06-17  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
     [not found]   ` <35865075.9D7DCBD@cl.cam.ac.uk>
1998-06-17  0:00     ` Matthew Heaney
1998-06-21  0:00       ` Robert Dewar
1998-06-17  0:00     ` Gavin Finnie [this message]
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
1998-06-18  0:00     ` Mats Weber
1998-06-21  0:00       ` Robert Dewar
1998-06-17  0:00   ` Mark D. McKinney
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