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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a37312089c9aa81b,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!cu4g2000vbb.googlegroups.com!not-for-mail From: Syntax Issues Newsgroups: comp.lang.ada Subject: Order of execution of subprogram parameters Date: Sat, 19 Mar 2011 10:10:04 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 130.207.218.196 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1300554604 17124 127.0.0.1 (19 Mar 2011 17:10:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 19 Mar 2011 17:10:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: cu4g2000vbb.googlegroups.com; posting-host=130.207.218.196; posting-account=iBd8kwoAAADZsnwFNFLVlwsLLxwDLPUm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:19289 Date: 2011-03-19T10:10:04-07:00 List-Id: Across ada compilers what is the order of execution for subprogram parameters? Is it left-to-right, right-to-left, and does it matter if I use labels out of order? Example: ... type Record_Joint is record Name : String(1..64); Flags : Integer_1_Unsigned; Parent : Integer_4_Signed; Start : Integer_4_Signed; end record; package Container_Record_Joint is new Ada.Containers.Indefinite_Vectors (Integer_4_Unsigned, Record_Joint); ... Animation : Record_Md5_Animation; ... Animation.Joints.Append( (Name => Remove_Quotes(Next_String(File, Current_Line)), Parent => Next_Integer_4_Signed(File, Current_Line), Flags => Next_Integer_1_Unsigned(File, Current_Line), Start => Next_Integer_4_Signed(File, Current_Line)); ... function Next_X (File : in out File_Type; Line : in out String) return X;