comp.lang.ada
 help / color / mirror / Atom feed
From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: newbie problem
Date: 1998/12/05
Date: 1998-12-05T00:00:00+00:00	[thread overview]
Message-ID: <m37lw67r6f.fsf@mheaney.ni.net> (raw)
In-Reply-To: 36681A30.5A315F94@elca-matrix.ch

Mats Weber <Mats.Weber@elca-matrix.ch> writes:

> Download GNAT and look at the package GNAT.IO_Aux. It contains two
> Get_Line functions that should solve your problem:
> 
> help_me_please : constant String(1..20) := GNAT.IO_Aux.Get_Line;

I really don't think you meant to write this.  I think you meant:

  Help_Me_Please : constant String := GNAT.IO_Aux.Get_Line;

Unless the input string is exactly 20 characters, you'll get
Constraint_Error every time you try to get a line.







  reply	other threads:[~1998-12-05  0:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-05  0:00 newbie problem Graeme Wallace
1998-12-04  0:00 ` Mats Weber
1998-12-05  0:00   ` Matthew Heaney [this message]
1998-12-04  0:00 ` Gautier.DeMontmollin
1998-12-04  0:00 ` David Botton
1998-12-04  0:00 ` Simon Bracken
1998-12-04  0:00   ` Marin David Condic
1998-12-04  0:00 ` Marin David Condic
1998-12-05  0:00 ` Matthew Heaney
1998-12-07  0:00 ` Jeff Carter
  -- strict thread matches above, loose matches on Subject: below --
2009-05-13 14:16 Olivier Scalbert
2009-05-13 14:54 ` Martin
2009-05-13 15:20   ` Olivier Scalbert
2009-05-13 15:14 ` Adam Beneschan
2009-05-13 15:54   ` Olivier Scalbert
2009-05-13 15:44 ` Ludovic Brenta
2009-05-13 16:03   ` Olivier Scalbert
2009-05-13 18:00 ` Olivier Scalbert
2009-05-13 18:51   ` Martin
2009-05-13 19:45     ` sjw
2009-05-13 19:48     ` Olivier Scalbert
2009-05-14 19:41       ` sjw
2009-05-15  5:02         ` Olivier Scalbert
2009-05-15  8:05         ` Jean-Pierre Rosen
2009-05-18 10:23         ` Olivier Scalbert
2009-05-18 10:48           ` Martin
2009-05-18 10:54             ` Olivier Scalbert
2009-05-18 10:52           ` Ludovic Brenta
2009-05-18 11:09             ` Olivier Scalbert
2009-05-14 22:39       ` Jeffrey R. Carter
2009-05-14  2:59 ` anon
replies disabled

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