From: utzoo!decvax!cca!Ellis.Cohen@Cmu-10a@sri-unix Newsgroups: net.unix-wizards Title: Bug in Pascal interface to C? Article-I.D.: sri-unix.4073 Posted: Wed Oct 27 05:29:01 1982 Received: Thu Oct 28 03:35:42 1982 Date: 25 October 1982 2353-EDT (Monday) I am trying to simulate an Addr function in Pascal, which returns the address of the argument. I declare Addr in Pascal as having a VAR parameter, and then implement Addr in C as a function which simply returns its argument. It seems to work much of the time, but produces bizarre results in certain circumstances. Though I haven't really examined the problem in detail, I can't see any obvious pattern. Any clues?