comp.lang.ada
 help / color / mirror / Atom feed
From: porton@ex-code.com (Victor Porton)
Subject: Charles: missing default values
Date: Thu, 14 Nov 2002 09:15:29 +0500
Date: 2002-11-14T04:16:22+00:00	[thread overview]
Message-ID: <3dd32396$0$308$bed64819@news.gradwell.net> (raw)

It is reasonable to add default values to the arguments of
many functions in charles, e.g. Genereic_Find for vectors would
become:

generic
  with function Predicate (Element : Element_Type)
    return Boolean is <>;
function Generic_Find 
     (Container : Container_Type;
      First     : Index_Type'Base := First(C);
      Back      : Index_Type'Base := Last (C)) return Index_Type'Base;



             reply	other threads:[~2002-11-14  4:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-14  4:15 Victor Porton [this message]
2002-11-14  4:32 ` Charles: missing default values Hyman Rosen
2002-11-14 12:48   ` Marin David Condic
2002-11-14 15:56     ` Hyman Rosen
2002-11-14 16:23   ` Matthew Heaney
2002-11-14  7:18 ` Victor Porton
2002-11-14 16:16 ` Matthew Heaney
replies disabled

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