Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!f.adelaide.edu.au!mpradhan From: mpradhan@f.adelaide.edu.au Newsgroups: comp.sys.mac.hypercard Subject: AppleEvent limitation in HC 2.1? Message-ID: <1991Jun12.154845.1@f.adelaide.edu.au> Date: 12 Jun 91 06:18:44 GMT Article-I.D.: f.1991Jun12.154845.1 Sender: news@ucs.adelaide.edu.au Organization: University of Adelaide Lines: 32 Nntp-Posting-Host: f.adelaide.edu.au On the weekend I was playing with HC 2.1 and Macintosh Common Lisp (MCL) v2.0b1p2, using AppleEvents to communicate between them. I wrote some stuff in MCL to allow it to handle the send ('dosc') and request ('eval') AppleEvents from HyperCard, as well as to send the same AEs from lisp to HC. Everything works very nicely, except I have run into a problem which may be a limitation of HC: when sending a 'dosc' or 'eval' AE to HC from MCL I have found that HC will not accept more than 255 characters, if the AE contains more than 255 chars HC ignores it altogether! If, however, HC requests data from lisp then it happily grabs over 255 chars of data. For example if HC requests the result of (factorial 160) it will happily accept the 300 or so characters of the number which is the result. I can't get HC to accept the result from MCL if it sends a 'dosc' AE, it will only accept up to factorial 154 which is a number of about 253 or so characters (digits). Is this a set limitation of HC? Thanks in advance for words of wisdom. Regards, Malcolm _________________________________________________________________ Malcolm Pradhan Medical Computing, Faculty of Medicine _--_|\ University of Adelaide, South Australia / \ InterNet: mpradhan@f.adelaide.edu.au \_.--._/ Fax: + 618 338 2108 v