[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sending applescript events
- To: "Andre Koehorst" <email@example.com>, firstname.lastname@example.org
- Subject: Re: sending applescript events
- From: email@example.com (Bill St. Clair)
- Date: Fri, 25 Mar 1994 10:10:37 -0600
At 9:54 AM 3/25/94 +0000, Andre Koehorst wrote:
>Somehow the script arguments gets an extra character (in the
>first position). We think the extra character correspond
>(perhaps) to the count-byte of the pascal string. But how
>does it get in. Can somebody explain this behaviour?
I believe that HyperCard expects C string, e.g. zero terminated
instead of length as the first byte. Try changing WITH-PSTRS
to WITH-CSTRS and %GET-STRING to %GET-CSTRING.