From: mockturtle <framefritti@gmail.com>
Subject: Re: pass in parameters
Date: Tue, 11 May 2010 10:55:15 -0700 (PDT)
Date: 2010-05-11T10:55:15-07:00 [thread overview]
Message-ID: <25a03ac3-0314-4693-8893-c791bb025cd7@37g2000yqm.googlegroups.com> (raw)
In-Reply-To: 5c7838c3-6611-4698-ad8c-f512c652016a@n15g2000yqf.googlegroups.com
On May 11, 7:20 pm, moongeegee <jenny.kh...@gmail.com> wrote:
> I am very new in ADA
welcome aboard!
> and trying to solve some issues on ADA. The codes are not
> written by me. Please help.
> I have a procedure has 4 pass in parameters as below. myInter.Init has
> only two parameters.
> Does it mean myInter call other procedure Init, not the one below?
Yes, if this is an actual code excerpt, the procedure Init does not
call recursively itself. From your example it is not clear if myInter
is a package or a tagged record, but the difference in the number of
parameter suffices to grant that the called Init is another Init.
Oh, by the way... It is "Ada" and not "ADA", it is not an acronym, but
a name :-)
>
> procedure Init
> (init_file : in string;
> sname : in string;
> sate : in integer;
> cstate : in CState_type) is
>
> begin
>
> myInter.Init
> (SFile, tName);
>
> end;
prev parent reply other threads:[~2010-05-11 17:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 17:20 pass in parameters moongeegee
2010-05-11 17:55 ` mockturtle [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox