From: rgelb@csulb.edu (Robert Gelb)
Subject: Help with Text_IO Instantiation!
Date: 1996/04/21
Date: 1996-04-21T00:00:00+00:00 [thread overview]
Message-ID: <4lc67p$jeh@hatathli.csulb.edu> (raw)
I have the following code:
procedure test is
type string is array(integer range 1..10) of character;
type SaType is array(integer range <>) of string;
StrArray:SaType(1..5);
begin
put(StrArray(1));
end test;
What kind of Text_IO instatiation do I need to specify in order to make
'put(StrArray(1));' statement work.
I've tried
with Ada.Text_Io, Ada.Integer_Text_Io;
use Ada.Text_Io, Ada.Integer_Text_Io;
but it doesn't seem to work with the type of string I declared. I am
using ADA95.
next reply other threads:[~1996-04-21 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-21 0:00 Robert Gelb [this message]
1996-04-22 0:00 ` Help with Text_IO Instantiation! Robert Dewar
1996-04-24 0:00 ` John Herro
1996-04-24 0:00 ` David Weller
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox