Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!think!bloom-beacon!bu-cs!dartvax!eleazar.dartmouth.edu!matthews From: matthews@eleazar.dartmouth.edu (Jim Matthews) Newsgroups: comp.sys.mac.programmer Subject: Warning: bug in MPW List Manager interface Message-ID: <10510@dartvax.Dartmouth.EDU> Date: 20 Oct 88 19:22:00 GMT Sender: news@dartvax.Dartmouth.EDU Reply-To: matthews@eleazar.dartmouth.edu (Jim Matthews) Organization: Dartmouth College, Hanover, NH Lines: 15 I just spent a bunch of time stumbling over a stupid error in the MPW 2.0.2 interface files. The entry in PackIntf.p lists LScroll's arguments as (dRows, dCols: integer; list: ListHandle). The Programmer's Online Companion (version 2.0) lists it the same way. According to Inside Mac IV and my testing, both are wrong: dCols should come before dRows. It's a silly mistake, but it had me wondering when a call to scroll a one-dimensional list (in the wrong dimension) produced no effect. The MPW C include file is correct. I assume that Steve Capps (author of the Programmer's Online Companion) used the Pascal interface as a source, and hence his error. Other on-line reference DAs may have the same problem. Jim Matthews Dartmouth Sofware Development