From: Syntax Issues <syntax.issues@gmail.com>
Subject: Order of execution of subprogram parameters
Date: Sat, 19 Mar 2011 10:10:04 -0700 (PDT)
Date: 2011-03-19T10:10:04-07:00 [thread overview]
Message-ID: <fbb8207c-a093-4e17-876d-fd6bbc8c0ba8@cu4g2000vbb.googlegroups.com> (raw)
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;
next reply other threads:[~2011-03-19 17:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-19 17:10 Syntax Issues [this message]
2011-03-19 18:58 ` Order of execution of subprogram parameters Jeffrey Carter
2011-03-19 19:51 ` Syntax Issues
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox