comp.lang.ada
 help / color / mirror / Atom feed
From: Lutz Donnerhacke <lutz@iks-jena.de>
Subject: Re: [Spark] Converting Arrays
Date: Wed, 12 Mar 2003 10:15:47 +0000 (UTC)
Date: 2003-03-12T10:15:47+00:00	[thread overview]
Message-ID: <slrnb6u26i.nt.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: cf2c6063.0303120143.2310b3d9@posting.google.com

* Rod Chapman wrote:
> You can pass the Length of the Path parameter as an addition "in"
> parameter.  e.g.
> 
>   procedure To_Fullname (S           : in     String;
>                          Path        :    out Fullname;
>                          Path_Length : in     Natural);
>   --# derives Path from S, Path_Length;
>   --# pre S'Length < Path_Length;
> 
> Then a caller simply does:
> 
>   To_Fullname (LS, P, P'Length);

I do not want to write C. ;-)



  reply	other threads:[~2003-03-12 10:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-10 17:06 [Spark] Converting Arrays Lutz Donnerhacke
2003-03-10 20:03 ` James S. Rogers
2003-03-10 22:33   ` Lutz Donnerhacke
2003-03-11 10:14 ` Rod Chapman
2003-03-11 10:51   ` Lutz Donnerhacke
2003-03-11 10:52   ` Lutz Donnerhacke
2003-03-11 20:46     ` JP Thornley
2003-03-12  8:43       ` Phil Thornley
2003-03-12 11:57         ` Lutz Donnerhacke
2003-03-12 18:46           ` JP Thornley
2003-03-13 10:14             ` Lutz Donnerhacke
2003-03-12  9:43     ` Rod Chapman
2003-03-12 10:15       ` Lutz Donnerhacke [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-13  5:55 Grein, Christoph
2003-03-13  9:47 ` Peter Amey
2003-03-13 10:15   ` Lutz Donnerhacke
2003-03-21 15:05     ` Peter Amey
2003-03-21 15:17       ` Lutz Donnerhacke
replies disabled

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