comp.lang.ada
 help / color / mirror / Atom feed
* Order of execution of subprogram parameters
@ 2011-03-19 17:10 Syntax Issues
  2011-03-19 18:58 ` Jeffrey Carter
  0 siblings, 1 reply; 3+ messages in thread
From: Syntax Issues @ 2011-03-19 17:10 UTC (permalink / 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;



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

end of thread, other threads:[~2011-03-19 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-19 17:10 Order of execution of subprogram parameters Syntax Issues
2011-03-19 18:58 ` Jeffrey Carter
2011-03-19 19:51   ` Syntax Issues

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