comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Passing PUT to a generic
Date: 1997/05/02
Date: 1997-05-02T00:00:00+00:00	[thread overview]
Message-ID: <dewar.862625488@merv> (raw)
In-Reply-To: 5kb746$6n2@Urvile.MSUS.EDU


Brian asks

<<I am trying to pass put to a generic package so I can print to the screen
the elements of a generic vector.  I know you have to call put someting
else, but I'm stuck on the syntax.  I would REALLY appreciate so help.
Could you please respond via e mail. TIA.>>

YOu should always send source, but in this case, you have run into a problem
so common that it should be in some FAQ somewhere. Everyone thinks of
Put has having one parameter, and therefore being suitable for use as a
generic formal subprogram with one parameer -- but in fact Put has several
parameters, so it does not match -- You wll have to make a wrappr.
\




      reply	other threads:[~1997-05-02  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-01  0:00 Passing PUT to a generic Brian Lang
1997-05-02  0:00 ` Robert Dewar [this message]
replies disabled

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