From: Daniel Norte Moraes <danielcheagle@gmail.com>
Subject: About procedures and functions in Ada Pure packages. Thanks!
Date: Mon, 15 Aug 2022 03:31:55 -0700 (PDT) [thread overview]
Message-ID: <e1f43654-dba6-46d7-bcd9-4aa79ed82f74n@googlegroups.com> (raw)
Hi! and Very Very Very Thanks!
I building and change some packages and I have some doubts
about procedures and functions in Ada Pure packages.
I'm asking mainly the Ada Language Lawers. the Ada version is Ada2012.
fact 1: Ada allow the compiler substitute a function with
the result of this function.
?This is valid to functions with 'in out' or 'out' parameters ?
?This is valid to functions with 'not null access' parameters ?
?This is valid to procedures with 'in out' or 'out' parameters ?
?This is valid to procedures with 'not null access' parameters ?
?If they are replaced (on the second call onwards) by the result,
will the 'in' 'in out' and 'not null access' parameters be updated
if they are changed within the function or procedure?
Very Very Very Thanks in Advance!
Best Wishes,
GrateFull,
Dani.
next reply other threads:[~2022-08-15 10:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 10:31 Daniel Norte Moraes [this message]
2022-08-18 1:12 ` About procedures and functions in Ada Pure packages. Thanks! Randy Brukardt
2022-08-21 21:49 ` Daniel Norte Moraes
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox