From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: Array Literals?
Date: 1996/08/14
Date: 1996-08-14T00:00:00+00:00 [thread overview]
Message-ID: <EACHUS.96Aug14182616@spectre.mitre.org> (raw)
In-Reply-To: 4uq1jb$gpu@newsbf02.news.aol.com
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...
next prev parent reply other threads:[~1996-08-14 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-12 0:00 Array Literals? Spasmo
1996-08-13 0:00 ` John Herro
1996-08-13 0:00 ` Spasmo
1996-08-14 0:00 ` John Herro
1996-08-14 0:00 ` Robert I. Eachus [this message]
1996-08-13 0:00 ` Jon S Anthony
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox