comp.lang.ada
 help / color / mirror / Atom feed
* raised CONSTRAINT_ERROR problem
@ 1996-11-16  0:00 polivkaj
  1996-11-17  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: polivkaj @ 1996-11-16  0:00 UTC (permalink / raw)



This error occurs on line 3: 

search_name : string (1..20);
name_length : integer;


1.	new_line(3);
2.	put(" Enter your search name-> ");
3.	get_line (search_name, name_length);
4.	put_line (search_name(1..name_length));

Why is this?  

I'm doing this so I can make a string compare function in ADA (class
assignment).

I'm using the following:
	Gnat 3.04a compiler
	Windows 95 OS  		(I know, I know)

Any help would be GREATLY appreciated!!

Jon P.
polivkaj@mail.oit.osshe.edu




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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-16  0:00 raised CONSTRAINT_ERROR problem polivkaj
1996-11-17  0:00 ` Robert Dewar

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