From: Sandro Binetti <sandrobinetti@my-deja.com>
Subject: About conversions
Date: 2000/11/20
Date: 2000-11-20T00:00:00+00:00 [thread overview]
Message-ID: <8vb0h9$1ou$1@nnrp1.deja.com> (raw)
Hi everybody.
Can you help me understand the meaning of a type conversion, like:
INTEGER(v) ?
Take an example like the following.
-------------------------
procedure PROVA is
type TYP is range 1..10;
c:typ;
procedure P(a,b:in integer;result:out integer) is
begin
result:=a+b;
end p;
begin -- PROVA
p(10,20,INTEGER(c)); -- <<<<
end prova;
----------------------------------------
The compiler doesn't say anything at the point <<<<
Why?
--
Ciao, Sandro
Sent via Deja.com http://www.deja.com/
Before you buy.
next reply other threads:[~2000-11-20 0:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-20 0:00 Sandro Binetti [this message]
2000-11-20 0:00 ` About conversions Ken Garlington
2000-11-20 0:00 ` Robert Dewar
2000-11-20 0:00 ` Stephen Leake
2000-11-21 0:00 ` Robert Dewar
2000-11-21 0:00 ` Warren W. Gay VE3WWG
2000-11-21 0:00 ` Robert Dewar
2000-11-21 0:00 ` Ted Dennison
2000-11-22 3:27 ` Warren W. Gay VE3WWG
2000-11-22 4:54 ` Robert Dewar
2000-11-22 0:00 ` Ted Dennison
2000-11-22 0:00 ` Wes Groleau
2000-11-22 0:00 ` Tristan Gingold
2000-11-24 0:00 ` Jean-Pierre Rosen
2000-11-24 0:00 ` Jean-Pierre Rosen
2000-11-21 2:57 ` DuckE
2000-11-21 0:00 ` Robert Dewar
-- strict thread matches above, loose matches on Subject: below --
2000-11-23 6:21 Christoph Grein
2000-11-23 0:00 ` Wilhelm Spickermann
2000-11-23 0:00 ` Florian Weimer
2000-11-23 0:00 ` Wilhelm Spickermann
2000-11-28 2:20 ` Robert Dewar
2000-11-24 0:00 Christoph Grein
2000-11-28 1:33 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox