• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Putting port number into AERecord
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Run-Only script in OSX 10.2.6
  • Next by Date: Re: AS-Studio breaks list limits?
  • Previous by thread: Re: launch/activate application from variable
  • Next by thread: Delete i Quark 5?
  • Index(es):
    • Date
    • Thread