comp.lang.ada
 help / color / mirror / Atom feed
* Help with Text_IO Instantiation!
@ 1996-04-21  0:00 Robert Gelb
  1996-04-22  0:00 ` Robert Dewar
  1996-04-24  0:00 ` John Herro
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Gelb @ 1996-04-21  0:00 UTC (permalink / 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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-04-24  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-21  0:00 Help with Text_IO Instantiation! Robert Gelb
1996-04-22  0:00 ` Robert Dewar
1996-04-24  0:00 ` John Herro
1996-04-24  0:00   ` David Weller

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