From: kdevlin@magicnet.net (Ken Devlin)
Subject: Re: HELP:Declaration in ADA?!!
Date: 1996/03/28
Date: 1996-03-28T00:00:00+00:00 [thread overview]
Message-ID: <4jcpjt$n6i@comet.magicnet.net> (raw)
In-Reply-To: 4j65rr$fqg@soleil.uvsq.fr
Tuyet-Tram DANG-NGOC <dangngoc@ens-info.uvsq.fr> wrote:
>Hi there,
>I have a stupid question to ask.
>DOES SOMEONE KNOW HOW TO DECLARE LONG_INTEGER IN ADA?
>All the books I've read here does not answer this metaphysical question, they
>just take it as if everyone should know how to declare it. In a wonderful
>book, I've seen how to declare LONG_REAL by typing:
> type LONG_REAL is DIGIT 14;
>But how to do it for LONG_INTEGER?
>Can someone answers me pleeeeaaaase, i've a big and horrible project to finish
>for very soon.
I must be missing something here. Isn't this a compiler dependant
question???
I use an (old) Telesoft compiler targeted to M68030 (V4.1B) and VaxVMS
(V3.23) in both cases LONG_INTEGER is type that defines a 32 bit
"bucket". INTEGER, NATURAL, POSITIVE are all 16 bit types. On the
other hand the Dec ADA compiler I used 3-4 years ago defined INTEGER
to be a 32 bit type and SHORT_INTEGER to be a 16 bit type (I think it
also had LONG_INTEGER as a 64 bit type)
These are predefined types in the compiler.
As I have no experience with compilers that are not hosted on a
VAX,... I repeat, have I missed something???
I'm looking forward to being educated.
kbd
>Thank you very much for having paid attention to my question, and thank you
>very very much if you reply.
> TRAM
>--
>Tuyet Tram DANG NGOC
>Licence d'informatique
>Universite de Versailles
>dangngoc@ens-info.uvsq.fr
>http://www.ens-info.uvsq.fr:8000/public/dangngoc/index.html
next prev parent reply other threads:[~1996-03-28 0:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-25 0:00 HELP:Declaration in ADA?!! Tuyet-Tram DANG-NGOC
1996-03-25 0:00 ` Robert Dewar
1996-03-25 0:00 ` Laurent Guerby
1996-03-28 0:00 ` Ken Devlin [this message]
1996-04-08 0:00 ` Ken Devlin
1996-04-09 0:00 ` Martin C. Martin
1996-04-09 0:00 ` Keith Thompson
1996-04-18 0:00 ` Daryl Siddon
1996-04-22 0:00 ` John English
1996-04-24 0:00 ` Robert Dewar
1996-04-09 0:00 ` Walter B. Hollman Sr.
-- strict thread matches above, loose matches on Subject: below --
1996-03-25 0:00 tmoran
1996-03-28 0:00 Scott B. Crawford 0131-314-8253
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox