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,85ee038f08622eb8 X-Google-Attributes: gid103376,public From: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Array Literals? Date: 1996/08/14 Message-ID: #1/1 X-Deja-AN: 174221764 references: <4uo9b6$qj1@Masala.CC.UH.EDU> <4uq1jb$gpu@newsbf02.news.aol.com> organization: The Mitre Corp., Bedford, MA. newsgroups: comp.lang.ada Date: 1996-08-14T00:00:00+00:00 List-Id: In article <4uquru$jrq@Masala.CC.UH.EDU> cosc19z5@Bayou.UH.EDU (Spasmo) writes: > Yep. Question though, what exactly is the difference between using > Int_Array' ( ), and Int_Array ( )? I have used the latter before > to perform conversion with no apparent ill effect, but I believe > there is a difference, I just can't seem to recall it. Int_Array'(1,2,3,4,5) is a value of type Int_Array. Int_Array (1,2,3,4,5) won't work--assuming Int_Array is a type or subtype name. Int_Array (foo) converts foo to an Int_Array. Int_Array (Foo_Array'(1,2,3,4,5)) will convert the Foo_Array value to an Int_Array. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...