Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watmum.UUCP Path: utzoo!watmath!watnot!watmum!smvorkoetter From: smvorkoetter@watmum.UUCP (Stefan Vorkoetter) Newsgroups: net.lang.pascal,net.micro,net.micro.pc Subject: Re: MSDOS Turbo Pascal: re-assigning conOutPtr Message-ID: <506@watmum.UUCP> Date: Fri, 30-May-86 09:43:19 EDT Article-I.D.: watmum.506 Posted: Fri May 30 09:43:19 1986 Date-Received: Sat, 31-May-86 05:56:52 EDT References: <2864@utcsri.UUCP> Reply-To: smvorkoetter@watmum.UUCP (Stefan Vorkoetter) Organization: U of Waterloo, Ontario Lines: 12 Xref: watmath net.lang.pascal:559 net.micro:14747 net.micro.pc:8462 Summary: Try using the following: ConOutPtr := Ofs( MyRoutine ); I don't have my Turbo Manual here, but I believe that ConOutPtr is not a real pointer in the 8086 sense of the word (ie. segment:offset), but rather is just an offset into the code segment. Telling it the segment would be redundant since Turbo is limited to a single 64K code segment anyway. I hope this is correct. Stefan Vorkoetter (smvorkoetter@watmum.UUCP) University of Waterloo Waterloo, Ontario, Canada