From: Gautier de Montmollin Newsgroups: comp.os.msdos.djgpp Subject: Re: GENERAL DATA TYPE (Do you need one ?) Date: Tue, 20 Mar 2001 22:26:13 +0100 Organization: diAx dplanet (postings do not reflect the views of diAx) Lines: 12 Message-ID: <3AB7CAF5.B3A33FEE@pops.mydiax.ch> References: <9988r4$k33$1 AT tron DOT sci DOT fi> NNTP-Posting-Host: dialup-52-44.dplanet.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: duba04h09-0.dplanet.ch 985123523 21452 212.35.52.44 (20 Mar 2001 21:25:23 GMT) X-Complaints-To: usenet AT dplanet DOT ch NNTP-Posting-Date: 20 Mar 2001 21:25:23 GMT X-Mailer: Mozilla 4.75 [fr]C-CCK-MCD diax30 (Win98; U) X-Accept-Language: fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Maybe you want something like Ada's generic programming: generic type object is private; -- any type type result is range <>; -- some discete type function f(o:object) return result; ? ___________________________________________________ Gautier -- http://www.diax.ch/users/gdm/gsoft.htm