Re: Putting port number into AERecord
Re: Putting port number into AERecord
- Subject: Re: Putting port number into AERecord
- From: Loukas Kalenderidis <email@hidden>
- Date: Wed, 14 May 2003 18:08:00 +1000
On Wednesday, May 14, 2003, at 04:34 PM, Jon Pugh wrote:
At 3:25 PM +1000 5/14/03, Loukas Kalenderidis wrote:
AEPutParamPtr(&rec, kStreamPort, typeShortInteger, &port,
sizeof(u_short));
typeShortInteger is signed.
I would copy it to a long and then use typeInteger instead. You'd
avoid sign issues and there's no reason to prefer a short.
Perfect, Thanks Jon :)
----
Loukas Kalenderidis
Angier Consulting Pty Ltd
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.