comp.lang.ada
 help / color / mirror / Atom feed
* Charles: missing default values
@ 2002-11-14  4:15 Victor Porton
  2002-11-14  4:32 ` Hyman Rosen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Victor Porton @ 2002-11-14  4:15 UTC (permalink / 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;



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-11-14 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14  4:15 Charles: missing default values Victor Porton
2002-11-14  4:32 ` 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

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