Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!hsdndev!husc6!endor!siegel From: siegel@endor.uucp (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: MDEF code in Pascal Message-ID: <5044@husc6.harvard.edu> Date: 13 Dec 90 04:25:55 GMT References: <1076@babcock.cerc.wvu.wvnet.edu> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec Language Products Group Lines: 24 In article <1076@babcock.cerc.wvu.wvnet.edu> vrm@blackwater.cerc.wvu.wvnet.edu (Vasile R. Montan) writes: >I have been trying unsuccessfully to write a 'tools' MDEF and a >'patterns' MDEF in Lightspeed Pascal. Can anyone send me some code >in Pascal? (C code wouldn't help me, because I don't know C.) The "ObjectDraw" sample program supplied with THINK Pascal 3.0 includes three custom MDEF routines, all written in Pascal, and all integrated as part of the program's source (rather than as a separately built code resource). One MDEF is for tools, one is for patterns, and one is for colors. ObjectDraw also shows off some other pretty cool things, like the fact that you can write programs in Object Pascal without using a class library. :-) (This is a holdover from when ObjectDraw was originally written for version 2.0 of Pascal, and there were no class libraries to speak of...) R. Rich Siegel Symantec Languages Group Internet: siegel@endor.harvard.edu "...she's dressed in yellow, she says 'Hello, come sit next to me, you fine fellow..."