Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!hplabs!hpcea!hpcilzb!tedj From: tedj@hpcilzb.HP.COM (Ted Johnson) Newsgroups: comp.sys.mac Subject: Help wanted: a LSC question Message-ID: <870053@hpcilzb.HP.COM> Date: Thu, 26-Nov-87 20:38:47 EST Article-I.D.: hpcilzb.870053 Posted: Thu Nov 26 20:38:47 1987 Date-Received: Thu, 3-Dec-87 06:42:10 EST Organization: Hewlett Packard DTC Lines: 37 Can someone tell me what I'm doing wrong here? Using Lightspeed C v.2.11, I tried to do the following: Rect aRect; Point tempPoint; SetRect(&aRect, 3, 3, 300, 300); tempPoint = aRect.topLeft; When I tried to compile this, I got the error message: "Wrong number of arguments to macro topLeft" According to I.M. I-141, a Rect is defined as: Type Rect = RECORD CASE INTEGER OF 0: (top: INTEGER; left: INTEGER; bottom: INTEGER; right: INTEGER); 1: (topLeft: Point; botRight: Point) END; What am I doing wrong?!? Any clues would be greatly appreciated! -Ted ******************************************* Ted Johnson Hewlett-Packard, Design Technology Center Santa Clara, CA (408)553-3555 UUCP: ...hplabs!hpcea!hpcilzb!tedj *******************************************