Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!cmcl2!adm!news From: Slomcenski.WBST@xerox.com Newsgroups: comp.lang.pascal Subject: Re: Message-ID: <22166@adm.BRL.MIL> Date: 22 Jan 90 23:29:21 GMT Sender: news@adm.BRL.MIL Lines: 13 Christian, I think the problem is that num_lock is not a SET type. TP does not let you add an ENUM type to a SET type. Try the following: bios_shift_status := bios_shift_status + [num_lock]; ^^^^^^^^ SET containing 1 ENUM This should OR the SET: [num_lock] into the SET: bios_shift_status. Bob Slomcenski