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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f127842852d2f03a,start X-Google-Attributes: gid103376,public From: Sandro Binetti Subject: About conversions Date: 2000/11/20 Message-ID: <8vb0h9$1ou$1@nnrp1.deja.com>#1/1 X-Deja-AN: 695705049 X-Http-Proxy: 1.0 ssi21:3128 (Squid/2.3.STABLE4), 1.0 x52.deja.com:80 (Squid/1.1.22) for client 172.27.66.83, 195.223.220.65 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Nov 20 11:05:14 2000 GMT X-MyDeja-Info: XMYDJUIDsandrobinetti Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) Date: 2000-11-20T00:00:00+00:00 List-Id: 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.