Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!spock!kim From: kim@spock (Kim Letkeman) Newsgroups: comp.lang.pascal Subject: Re: register set Message-ID: <3802@kim> Date: 2 Jul 90 01:01:47 GMT References: <16.268E1000@palace.fidonet.org> Organization: Mitel. Kanata (Ontario). Canada. Lines: 23 In-reply-to: Alex.Brown@p0.f7.n391.z8.fidonet.org's message of 1 Jul 90 10:03:00 GMT In article <16.268E1000@palace.fidonet.org>, Alex.Brown@p0.f7.n391.z8.fidonet.org (Alex Brown) writes: | I got the following code from the Turbo Pascal v5.5 help file | and I still get an error code (type mismatch) when I try to compile | | Can anyone help me? I've tried everything I can think of! | | uses dos; | procedure cursor_off(stype : char); | | type | {Registers record used by Intr and MsDos} | Registers = record The dos unit contains that type. The procedure intr was compiled against the dos unit's version of the record, so although yours is identical, turbo does not recognize it as the same type or as an alias. It should work fine if you cut out your definition of the type and recompile. -- Kim Letkeman mitel!spock!kim@uunet.uu.net