comp.lang.ada
 help / color / mirror / Atom feed
* Data Structures
@ 2002-05-21 20:35 ProLogic
  2002-05-22  0:37 ` Jeffrey Creem
  0 siblings, 1 reply; 6+ messages in thread
From: ProLogic @ 2002-05-21 20:35 UTC (permalink / raw)


I'm trying to create a data structure then a dynamic array to that
structure.

package Nick is

 NickName: String := "";
 Hops:   Integer := 0;
 SignOn:  Integer := 0;
 Identd:  String := "";
 Address:  String := "";
 Host:   String := "";
 Unused:  Integer := 0;
 Name:   String := "";

 VWAddress: String := "";

 Modes:  String := "";

 --Channels: array(positive range <>) of String := "";

 procedure setNickName(NickName: in String);

end Nick;

Could someone help me with the comment code there too please? I need a
dynamic array of Strings

In data.ads I have the following, which doesn't work...

 Nicks: array (positive range <>) of Nick;

Thanks for your help...





^ permalink raw reply	[flat|nested] 6+ messages in thread
* Data structures
@ 2002-07-26 10:30 Igor Gilitschenski
  2002-07-29 13:46 ` Florian Weimer
  0 siblings, 1 reply; 6+ messages in thread
From: Igor Gilitschenski @ 2002-07-26 10:30 UTC (permalink / raw)


Hi,

I was looking for a tool, which is able to convert C data structures
(from *.h files) into Ada data structures, but I wasn't successfull yet.
Do you know where to find one or isn't there such a tool.

Igor
-- 
Igor Gilitschenski               Gilitschenski@CERT.Uni-Stuttgart.DE
RUS-CERT Universitaet Stuttgart  Tel:+49 711 685-5973
Allmandring 30a, 70550 Stuttgart http://cert.uni-stuttgart.de/



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

end of thread, other threads:[~2002-07-29 13:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-21 20:35 Data Structures ProLogic
2002-05-22  0:37 ` Jeffrey Creem
2002-05-22 11:30   ` Marc A. Criley
2002-05-22 14:16     ` Marin David Condic
  -- strict thread matches above, loose matches on Subject: below --
2002-07-26 10:30 Data structures Igor Gilitschenski
2002-07-29 13:46 ` Florian Weimer

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