From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.188.83 with SMTP id cz19mr23929488icb.32.1411951701280; Sun, 28 Sep 2014 17:48:21 -0700 (PDT) X-Received: by 10.182.165.8 with SMTP id yu8mr2214obb.9.1411951701157; Sun, 28 Sep 2014 17:48:21 -0700 (PDT) Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!a13no5174421igq.0!news-out.google.com!bc9ni6685igb.0!nntp.google.com!h15no9011259igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 28 Sep 2014 17:48:20 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.36.114.177; posting-account=Lb5doAoAAAAWHET3z2_nBVbFSXaZQG1V NNTP-Posting-Host: 24.36.114.177 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: actual for variable name must be variable compiler error From: Stribor40 Injection-Date: Mon, 29 Sep 2014 00:48:21 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:189236 Date: 2014-09-28T17:48:20-07:00 List-Id: 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.