comp.lang.ada
 help / color / mirror / Atom feed
* actual for variable name must be variable compiler error
@ 2014-09-29  0:48 Stribor40
  2014-09-29  2:50 ` Jeffrey Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Stribor40 @ 2014-09-29  0:48 UTC (permalink / raw)


I have procedure that define..

procedure myFunction (a: in out INTEGER) is
    begin


    end

which gets called in main like this....

   myFunction(5) this gives me error that actual must be variable
   myFunction(SomeOtherVariable) compiles fine

Can anyone please explain whats the difference. Should in out be allowed to read and write to parameters. 


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

end of thread, other threads:[~2014-09-30 19:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29  0:48 actual for variable name must be variable compiler error Stribor40
2014-09-29  2:50 ` Jeffrey Carter
2014-09-29 10:39 ` Brian Drummond
2014-09-29 19:37   ` Simon Clubley
2014-09-29 21:33     ` Georg Bauhaus
2014-09-30  0:27       ` Simon Clubley
2014-09-30 12:09         ` Peter Chapin
2014-09-30 13:17         ` Dennis Lee Bieber
2014-09-30 19:48           ` Simon Clubley
2014-09-30 14:47         ` Adam Beneschan
2014-09-29 14:27 ` Denis McMahon

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