comp.lang.ada
 help / color / mirror / Atom feed
From: "ProLogic" <ProLogic@prologitech.ods.org>
Subject: Data Structures
Date: Wed, 22 May 2002 06:35:42 +1000
Date: 2002-05-22T06:35:42+10:00	[thread overview]
Message-ID: <3ceaafcd@news.comindico.com.au> (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...





             reply	other threads:[~2002-05-21 20:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-21 20:35 ProLogic [this message]
2002-05-22  0:37 ` Data Structures 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
replies disabled

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