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,start X-Google-Attributes: gid103376,public From: polivkaj@mail.oit.osshe.edu Subject: raised CONSTRAINT_ERROR problem Date: 1996/11/16 Message-ID: <328EBF8A.655D@mail.oit.osshe.edu>#1/1 X-Deja-AN: 196987447 content-type: text/plain; charset=us-ascii organization: Oregon State System of Higher Education mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.0Gold (Win95; I) Date: 1996-11-16T00:00:00+00:00 List-Id: 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