comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: Character Type?
Date: 1999/01/27
Date: 1999-01-27T00:00:00+00:00	[thread overview]
Message-ID: <x7vzp74e54g.fsf@pogner.demon.co.uk> (raw)
In-Reply-To: 36AF1CB3.BC7741B4@pgh.net

Bill Ghrist <ghristwd@pgh.net> 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




  reply	other threads:[~1999-01-27  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-26  0:00 Character Type? Chris
1999-01-26  0:00 ` Tom Moran
1999-01-27  0:00 ` Bill Ghrist
1999-01-27  0:00   ` Simon Wright [this message]
1999-01-28  0:00   ` 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