Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!ernie!shebanow From: shebanow@ernie.BERKELEY.EDU (Mike Shebanow) Newsgroups: net.micro.mac Subject: Re: Help with Pack6....IUDateString in particular. Message-ID: <11071@ucbvax.BERKELEY.EDU> Date: Sun, 24-Nov-85 17:44:31 EST Article-I.D.: ucbvax.11071 Posted: Sun Nov 24 17:44:31 1985 Date-Received: Tue, 26-Nov-85 08:23:28 EST References: <285@nvzg2.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: shebanow@ernie.UUCP (Mike Shebanow) Distribution: net Organization: University of California, Berkeley Lines: 29 Keywords: Packages IMLib MacC (Beware the line eater) The problem is twofold. First of all, I incorrectly labeled the parameter. The actual conventions are: void IUDateString(dateTime,form,result) long dateTime; (D0.L) DateForm form; (D1.W) Str255 *result; (D2.L) The dateform values are defined in Packages.h (at least for Consulair C). For reference, they are: // long flag specifying short date format #define shortDate 0 // long flag specifying long date format #define longDate 256 // long flag specifying medium date format #define medDate 512 Hope this helps. Incidentally, expect a new version of this library code, with many bug fixes & new routines, to appear in net.sources.mac shortly. The source + object is more than 70K, so it will be posted in small chunks over the space of several weeks. Andrew Shebanow shebanow@ucbernie