From: jsa@alexandria.organon.com (Jon S Anthony)
Subject: Re: Working with GNAT Ada
Date: 1997/10/02
Date: 1997-10-02T00:00:00+00:00 [thread overview]
Message-ID: <JSA.97Oct2174357@alexandria.organon.com> (raw)
In-Reply-To: 01bccf61$ff2dcbe0$eb2aaccf@default
In article <01bccf61$ff2dcbe0$eb2aaccf@default> "James H. Robinson, III" <jr3uva90@erols.com> writes:
> -- Precompiled instantiations of Integer_IO and
> -- Float_IO for the predefined Integer and Float types
>
> WITH Text_IO;
> PACKAGE My-Int-_IO IS
^---^--------- should be '_'
> NEW Text_IO.Integer_IO (Num => Integer);
>
> WITH Text_IO;
> PACKAGE My_Flt_IO IS
> NEW Text_IO.Float_IO (Num =>);
>
>
> When I tried to compile this code, I received many error messages such as
> my needing and END statement and my needing declarations.
Hyphens are not legal characters in identifiers in Ada. You been
hackin' Lisp recently? :-)
Works fine if you fix the syntax errors.
/Jon
--
Jon Anthony
STL, Belmont, MA 02178, 617.484.3383
"Nightmares - Ha! The way my life's been going lately,
Who'd notice?" -- Londo Mollari
prev parent reply other threads:[~1997-10-02 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-02 0:00 Working with GNAT Ada James H. Robinson, III
1997-10-02 0:00 ` Jon S Anthony [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