[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending applescript events



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.