Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!nrl-cmf!think!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac Subject: Re: LSC TRAP resource (He Rich !) Keywords: LSC, resource Message-ID: <2087@husc6.harvard.edu> Date: 19 Jun 89 19:15:42 GMT References: <5170@imag.imag.fr> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec/THINK Technologies, Bedford, MA Lines: 36 In article <5170@imag.imag.fr> iron@imag.imag.fr (Francois Menneteau) writes: > > Is the resource TRAP of the LSC application under copyright ? It's not copyrighted, but since it's an internal of the TLSC program, its format is (a) undocumented, (b) subject to change, and (c) proprietary. >(I wrote a disasembler in my application, and I implement a "Find Trap" >command. But I have two problems : > - My search algorithm is not very fast (sequential search). To look up a trap quickly, have your tables keyed by trap word, and presorted in ascending order. Then you can use a binary search which compares trap words, instead of trap names. > - Some traps (the recent ones) are not in my tables. The MPW 3.0 interfaces (which, I believe, are separately available thru APDA) contain the definitive trap list. --Rich ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel I classify myself as a real developer because my desk is hip-deep in assembly-language listings and I spend more than 50% of my time in TMON. ~~~~~~~~~~~~~~~