comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent.Guerby@enst-bretagne.fr (Laurent Guerby)
Subject: Re: C to Ada (static)
Date: 1996/04/26
Date: 1996-04-26T00:00:00+00:00	[thread overview]
Message-ID: <4xohoeirq0.fsf@leibniz.enst-bretagne.fr> (raw)
In-Reply-To: 4lr2eq$o3c$1@mhadf.production.compuserve.com


Heinz-Gerd Kuester writes
: How do I translate this to ADA?
: 
: void myfunc (void)
: {
: 	static int number; /* <= the static stuff in Ada? */
: 
: }

   Something like (in a body definition) :

Number : Integer;

procedure My_Procedure is
begin
   null; 
end My_Procedure;

: Thank you
: Heinz-Gerd Kuester

-- 
--  Laurent Guerby, student at Telecom Bretagne (France), Team Ada.
--  "Use the Source, Luke. The Source will be with you, always (GPL)."
--  http://www-eleves.enst-bretagne.fr/~guerby/ (GATO Project).
--  Try GNAT, the GNU Ada 95 compiler (ftp://cs.nyu.edu/pub/gnat).




      parent reply	other threads:[~1996-04-26  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-26  0:00 C to Ada (static) Heinz-Gerd Kuester
1996-04-26  0:00 ` Theodore E. Dennison
1996-04-27  0:00   ` Robert Dewar
1996-04-26  0:00 ` Joerg Rodemann
1996-04-26  0:00 ` Laurent Guerby [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