comp.lang.ada
 help / color / mirror / Atom feed
From: "amado.alves" <amado.alves@netcabo.pt>
To: <comp.lang.ada@ada-france.org>
Subject: Re: unconstrained array question
Date: Mon, 24 Nov 2003 18:11:51 -0000
Date: 2003-11-24T18:11:51+00:00	[thread overview]
Message-ID: <mailman.50.1069697522.3110.comp.lang.ada@ada-france.org> (raw)

First, you cannot call an abstract function.

Correct that, either by making the function concrete (elide "abstract" and provide a body), or by deriving from the controlling type and providing a (concrete) function for the derived type.

Then, to convert between any two compatible types you just write

  Target_Type (Object_Of_Source_Type)



             reply	other threads:[~2003-11-24 18:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-24 18:11 amado.alves [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-22 17:39 unconstrained array question shoko
2003-11-22 18:11 ` Marius Amado Alves
2003-11-23  7:12   ` shoko
2003-11-23  8:42     ` tmoran
2003-11-23 12:16     ` Marius Amado Alves
2003-11-23 18:03       ` shoko
2003-11-23 20:16         ` Marius Amado Alves
2003-11-24 17:40           ` shoko
2003-11-24 18:16             ` Jeffrey Carter
replies disabled

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