comp.lang.ada
 help / color / mirror / Atom feed
* Package name as string
@ 2011-02-15 18:33 Rego
  2011-02-15 19:16 ` Jeffrey Carter
  2011-02-16  7:06 ` Per Sandberg
  0 siblings, 2 replies; 7+ messages in thread
From: Rego @ 2011-02-15 18:33 UTC (permalink / raw)


Does someone know a function/package which I get the name of the (other) procedure in use as a string?

I mean, I have a procedure which needs to make a call that returns its own name in a string form:
--
with Package_I_Wanna_Know;
procedure Blabla is
   I_Want_To_Read_This_String : String;

begin
   I_Want_To_Read_This_String := Package_I_Wanna_Know.Wanted_Function;
end Blabla;
--
And so, I_Want_To_Read_This_String = "Blabla".

Tks!



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

end of thread, other threads:[~2011-02-16 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-15 18:33 Package name as string Rego
2011-02-15 19:16 ` Jeffrey Carter
2011-02-16  7:06 ` Per Sandberg
2011-02-16  8:52   ` Dmitry A. Kazakov
2011-02-16 10:51     ` Georg Bauhaus
2011-02-16 13:03       ` Dmitry A. Kazakov
2011-02-16 13:14       ` Rego

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