comp.lang.ada
 help / color / mirror / Atom feed
From: polivkaj@mail.oit.osshe.edu
Subject: raised CONSTRAINT_ERROR problem
Date: 1996/11/16
Date: 1996-11-16T00:00:00+00:00	[thread overview]
Message-ID: <328EBF8A.655D@mail.oit.osshe.edu> (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




             reply	other threads:[~1996-11-16  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-16  0:00 polivkaj [this message]
1996-11-17  0:00 ` raised CONSTRAINT_ERROR problem Robert Dewar
replies disabled

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