Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!ukma!tut.cis.ohio-state.edu!ucbvax!decwrl!labrea!Portia!Jessica!duggie From: duggie@Jessica.stanford.edu (Doug Felt) Newsgroups: comp.sys.mac.programmer Subject: Re: Problems with XCMDs in MPW Object Pascal 3.0 Summary: try a driver Keywords: driver Message-ID: <862@Portia.Stanford.EDU> Date: 13 Mar 89 17:06:06 GMT References: <4321@sdcc3.ucsd.EDU> <26942@apple.Apple.COM> <877@internal.Apple.COM> <15634@cup.portal.com> <27155@apple.Apple.COM> Sender: USENET News System Reply-To: duggie@Jessica.stanford.edu (Doug Felt) Organization: Stanford University Lines: 34 In article <27155@apple.Apple.COM> keith@Apple.COM (Keith Rollin) writes: >In article <15634@cup.portal.com> Greg_Mark_Finnegan@cup.portal.com writes: >> >>I have one related question (and onother somewhat unrelated): >> >>Is it possible to create a multisegment XCMD? Let's say for example I want >>to somehow shoehorn a small spreadsheet (about 90K) into an XCMD. Can I >>do it (easily)? > >Well, I suppose that it could be done. There are two ways that you could do >it, but neither qualify as being easy: > > 1) create a multisegmented XCMD > 2) create a 90K XCMD A third alternative is to write a driver, and then communicate to the driver with one or several XCMDs. This has the advantages that you can maintain state across calls, and use Lightspeed's ability to create multi-segment drivers that Keith mentioned. (I use LSC, so don't know if LSP will do the same things for you, but perhaps it will). A spreadsheet could also use the driver idle time to do *very* small pieces of a recalculation while letting Hypercard run, which would be difficult to do in a straight XCMD. >>Thanks in advance. >> >>Greg. > >Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support Doug Felt Courseware Authoring Tools Project Stanford University duggie@jessica.stanford.edu