Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: notesfiles Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!drutx!houxe!hogpc!houti!ariel!vax135!cornell!uw-beaver!tektronix!hplabs!hp-pcd!hpfcla!hpfclo!jacob From: jacob@hpfclo.UUCP Newsgroups: net.lang.mod2 Subject: Re: Type Transfer Functions Message-ID: <57100001@hpfclo.UUCP> Date: Mon, 16-Jul-84 20:51:00 EDT Article-I.D.: hpfclo.57100001 Posted: Mon Jul 16 20:51:00 1984 Date-Received: Sun, 22-Jul-84 03:25:49 EDT References: <-86000@iuvax.UUCP> Organization: Hewlett-Packard - Fort Collins, CO Lines: 14 Nf-ID: #R:iuvax:8600011:hpfclo:57100001:000:642 Nf-From: hpfclo!jacob Jul 16 16:51:00 1984 I think you misdiagnosed your problem. As far as I know, types t1 (in your example) and INTEGER are not assignment compatible, at least when it comes to parameter passing. In other words, if you used "VAR P: t1" or "CBR(INTEGER(V))", the conversion should have worked. I've also used the Hamburg compiler. I don't recall having any problems with type conversion. I must admit though, that I also don't recall trying something like what you did in your example. Jacob Gore Currently at HP Fort Collins Systems Division Normally at Northwestern Univ. Comp. Sci. Res. Lab (and that's where the compiler is) ihnp4!hpfcla!jacob (I think)