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,b6780b7c90e46c15 X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: Character Type? Date: 1999/01/27 Message-ID: #1/1 X-Deja-AN: 438235954 X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 References: <78lfbq$l16$1@ligarius.ultra.net> <36AF1CB3.BC7741B4@pgh.net> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 917590983 nnrp-12:29293 NO-IDENT pogner.demon.co.uk:158.152.70.98 Organization: At Home Newsgroups: comp.lang.ada Date: 1999-01-27T00:00:00+00:00 List-Id: Bill Ghrist writes: > Well, I'm pretty new with Ada, but the obvious problem, I think, is that > '10' is not a character, it is a string. I don't think it's either! GNAT 3.11p (981118) Copyright 1992-1998 Free Software Foundation, Inc. Compiling: blug.adb (source file time stamp: 1999-01-27 22:11:18) 1. with Text_Io; 2. procedure Blug is 3. begin 4. Text_Io.Put_Line ('10'); | >>> strings are delimited by double quote character 5. end Blug; 5 lines: 1 error gnatmake: "blug.adb" compilation error