From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e0270cfe56c9b539 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: raised CONSTRAINT_ERROR problem Date: 1996/11/17 Message-ID: #1/1 X-Deja-AN: 197040353 references: <328EBF8A.655D@mail.oit.osshe.edu> organization: New York University newsgroups: comp.lang.ada Date: 1996-11-17T00:00:00+00:00 List-Id: 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.