comp.lang.ada
 help / color / mirror / Atom feed
From: gisle@apal.ii.uib.no (Gisle S�lensminde)
Subject: Re: raised CONSTRAINT_ERROR
Date: 2000/07/24
Date: 2000-07-24T00:00:00+00:00	[thread overview]
Message-ID: <slrn8nogad.e9k.gisle@apal.ii.uib.no> (raw)
In-Reply-To: slrn8nlpu2.6dc.gisle@apal.ii.uib.no

In article <slrn8nlpu2.6dc.gisle@apal.ii.uib.no>, Gisle S�lensminde wrote:
>In article <86lmytp5i0.fsf@book.mteege.de>, Matthias Teege wrote:
>>
>>Moin,
>>
>
>declare 
>  Arg : String := Ada.Command_Line.Argument_Count;
>begin
>  put_line(Arg);
>end;
>

This is of cause wrong, it should have been:

declare
   Arg : String := Ada.Command_Line.Argument(I);
begin
   put_line(Arg);
end;              

--
Gisle S�lensminde ( gisle@ii.uib.no )   

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead. (RFC 1925)




  reply	other threads:[~2000-07-24  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-23  0:00 raised CONSTRAINT_ERROR Matthias Teege
2000-07-23  0:00 ` Gisle S�lensminde
2000-07-24  0:00   ` Gisle S�lensminde [this message]
2000-07-24  0:00 ` Pascal Obry
2000-07-24  0:00 ` Ted Dennison
replies disabled

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