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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, PLING_QUERY,WEIRD_PORT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b87bc683630619fa X-Google-Attributes: gid103376,public From: Waltersr@usa.pipeline.com(Walter B. Hollman Sr.) Subject: Re: HELP:Declaration in ADA?!! Date: 1996/04/09 Message-ID: <4kcfuu$jqu@news1.h1.usa.pipeline.com>#1/1 X-Deja-AN: 146461607 references: <4kc5ti$1ir@comet2.magicnet.net> x-pipeuser: Waltersr x-pipehub: usa.pipeline.com organization: Pipeline USA newsgroups: comp.lang.ada, x-pipegcos: (Walter B. Hollman Sr.) Date: 1996-04-09T00:00:00+00:00 List-Id: On Apr 08, 1996 23:02:15 in article , 'kdevlin@magicnet.net (Ken Devlin)' wrote: >Tuyet-Tram DANG-NGOC 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 > > > -- If you know the value of a Long_Integer, and can not find one, then DEFINE ONE of your own! Walter B. Hollman Sr