comp.lang.ada
 help / color / mirror / Atom feed
From: Wannabe h4x0r <chris@dont.spam.me>
Subject: Re: Ada Characters?
Date: Thu, 28 Feb 2002 19:30:39 GMT
Date: 2002-02-28T19:30:39+00:00	[thread overview]
Message-ID: <zzvf8.21529$TB2.103216@rwcrnsc52.ops.asp.att.net> (raw)
In-Reply-To: a5lajq$jsn$4@a1-hrz.uni-duisburg.de

On Thu, 28 Feb 2002 08:16:42 -0500, Georg Bauhaus wrote:

> Wannabe h4x0r <chris@dont.spam.me> wrote:
> 
> :
> :        TEXT : string(1..200);
> 
> how do you fill this?
> 
> - georg

Usually from a text file, like this ...

with Ada.Text_IO; use Ada.Text_IO;

	Length : Natural;
	Open(File, IN_FILE, TEXT(1..LENGTH));

This usually works fine. All I have to do is use a loop to however many
lines my terminal will support in order to page the output on screen.

Chris



  reply	other threads:[~2002-02-28 19:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-28  2:07 Ada Characters? Wannabe h4x0r
2002-02-28  2:28 ` Jim Rogers
2002-02-28  2:37 ` sk
2002-02-28 13:16 ` Georg Bauhaus
2002-02-28 19:30   ` Wannabe h4x0r [this message]
2002-03-01 10:50     ` Georg Bauhaus
2002-03-05 20:58     ` Nick Roberts
2002-03-06  1:45       ` Wannabe h4x0r
2002-02-28 22:54 ` 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