-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 29 Mar 2001 10:36:48 -0800, "Hong Zhang" <[EMAIL PROTECTED]>
wrote:

> The function in Ada can not have any side effect, i.e. no change to
> globals.  

Unless my reading of the Ada 95 standard is wrong, there's nothing
that precludes functions having side effects. The only thing an Ada
function cannot do is having "out" or "in out" parameters, so it
cannot modify its arguments, and even that can be circumvented (as
you can pass "in" access parameters).

                                                           /L/e/k/t/u


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBOsOiu/4C0a0jUw5YEQKjQwCeP2Aeu6aJsdpP3asvcQDS+dyk2aoAoKS5
2gJ1o0xX1lfa0hXrVff1tPvx
=t4je
-----END PGP SIGNATURE-----

Reply via email to