comp.lang.ada
 help / color / mirror / Atom feed
From: "Frank J. Lhota" <NOSPAM.lhota.adarose@verizon.net>
Subject: Re: I wish I could ...
Date: Thu, 16 Sep 2004 18:20:48 GMT
Date: 2004-09-16T18:20:48+00:00	[thread overview]
Message-ID: <4Qk2d.1078$Ez5.644@trndny02> (raw)
In-Reply-To: MHk2d.3400$d5.26018@newsb.telia.net

How about this:

    declare
        Direction_For : constant array ( Going_Type ) of
Ada.Strings.Direction :=
            (
            Forward  => Ada.Strings.Forward,
            Backward => Ada.Strings.Backward
            );
    begin
        return Ada.Strings.Fixed.Index
            (
            Source  => Source.Reference( 1 .. Source.Last ),
            Mapping => String'( 1 => Space ),
            Going   => Direction_For( Going )
            );
    end;





  reply	other threads:[~2004-09-16 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16 18:11 I wish I could Björn Persson
2004-09-16 18:20 ` Frank J. Lhota [this message]
2004-09-16 19:04   ` Björn Persson
2004-09-17  7:28 ` Jeffrey Carter
replies disabled

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