Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!purdue!decwrl!shlump.dec.com!mountn.dec.com!memit.dec.com From: shatara@memit.dec.com (Chris Shatara) Newsgroups: comp.sys.apple Subject: Re: RE: 2 more //gs programming questions Message-ID: <400@mountn.dec.com> Date: 6 Jul 89 17:52:06 GMT Sender: news@mountn.dec.com Organization: Digital Equipment Corporation Lines: 23 >I tried this over the weekend and was VERY pleased with the speedup! One >problem I had to overcome: the TML Pascal unit for QuickDraw incorrectly >lists GetVisHandle as a PROCEDURE with a parameter, rather than a >FUNCTION that returns the value. Using the original PROCEDURE returned >garbage values. I defined a FUNCTION GetVisHandle2 of the proper type, >bound to the same Tool. Then it worked fine. I ran into the same thing and with the help of Dave Lyons found this "feature" in TML pascal. I'm currently using an older version of TML, V1.1 i think. Does anyone one know if this was fixed in later versions? If not, then it could still be there in the soon to be released V2.0. -------------------------------------------------------------------- Chris Shatara shatara@memit.dec.com --or-- ...!decwrl!memit.dec.com!shatara --or-- shatara%memit.dec@decwrl.dec.com { a frustrated manager who misses real engineering } --------------------------------------------------------------------