comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: raised CONSTRAINT_ERROR problem
Date: 1996/11/17
Date: 1996-11-17T00:00:00+00:00	[thread overview]
Message-ID: <dewar.848239949@merv> (raw)
In-Reply-To: 328EBF8A.655D@mail.oit.osshe.edu


Jon P. asks

"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?"


First: you did not give nearly enough information to find this problem
Second: it is part of your assignment to find your own problems
Third: You really should ask for help from your instructor or TA etc
          posting to tens of thousands of people around the world is
          not an appropriate use of net resources (just think, what
          if all the students learning Ada, there are thousands of
          them, all posted to CLA every time they ran into something          
          they did not understand.

The reason it is better to ask locally, is because then you can more easily
give all the information that is required. On CLA, especially if you are
a beginner, it will take several iterations just to ask the question
correctly, generating even more unnecessary traffic.





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

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

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