Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: GetItemMark Message-ID: <23368@ucbvax.BERKELEY.EDU> Date: 21 Mar 88 10:06:48 GMT References: <40600005@uxg.cso.uiuc.edu> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 13 In article <40600005@uxg.cso.uiuc.edu> dorner@uxg.cso.uiuc.edu writes: >Does GetItemMark work? I'm trying to toggle a check mark on and off in a I've been hit by this one recently. It appears that the prototype for GetItemMark isn't quite right. if you pass a pointer to an _int_ instead of a pointer to a char you'll find the correct value in it. This has to do with the fact that in Apple's Pascal, chars variables are represented by ints, chars are only packed in pascal when they appear in arrays of structures. --- David Phillip Oster --author of Stars Arpa: oster@dewey.soe.berkeley.edu -- Uucp: {uwvax,decvax,ihnp4}!ucbvax!oster%dewey.soe.berkeley.edu