comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Initialize with aggregate?
Date: Tue, 22 Nov 2005 20:00:32 +0000
Date: 2005-11-22T20:00:32+00:00	[thread overview]
Message-ID: <m2u0e4xxjz.fsf@grendel.local> (raw)
In-Reply-To: 1132679437.354982.169370@z14g2000cwz.googlegroups.com

"Adam Beneschan" <adam@irvine.com> writes:

> You don't need a separate function.  This should work:
>
> S := new Node' (Next => S,
>                         Item => Val & ((Val'Length + 1) .. 50 => ' '),
>                         Len => Val'Length,
>                         Count => 1);

Neat! (the coding, not the layout :-)

--S



  reply	other threads:[~2005-11-22 20:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 19:40 Initialize with aggregate? ejijott
2005-11-21 21:38 ` Gautier Write-only
2005-11-21 21:49 ` Simon Wright
2005-11-22 17:10   ` Adam Beneschan
2005-11-22 20:00     ` Simon Wright [this message]
2005-11-21 22:21 ` Robert A Duff
2005-11-22 16:57   ` Adam Beneschan
2005-11-22 20:07     ` Robert A Duff
replies disabled

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