• 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
AppleScript-ObjC XCode compile errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript-ObjC XCode compile errors


  • Subject: AppleScript-ObjC XCode compile errors
  • From: Dave <email@hidden>
  • Date: Tue, 17 Nov 2015 16:31:32 +0000
  • X_v_e_cd: d10544a50109fff19a6f895de7b4d4fc
  • X_v_r_cd: d115a86b1ca6554588e8549b5ce353f3

Hi All,

Please see these two methods:

on newOutlookMessageDictionary()
--say "newOutlookMessageDictionary"

copy the pMessageDictionary of me to myMessageDictionary

return myMessageDictionary as record
end newOutlookMessageDictionary


on newOutlookRecipientDictionary()
--say "newOutlookRecipientDictionary"

copy the pRecipientDictionary of me to myRecipientDictionary

return myRecipientDictionary as record
end newOutlookRecipientDictionary



Note the two return statements:

return myMessageDictionary as record			//This one causes an Compile Error
return myRecipientDictionary as record			//This one is Ok.

Why should one give an error and one be ok? Script Explorer thinks it’s ok, but XCode barfs, why are there all these inconsistencies it almost they are using a completely different compiler……

All then Best
Dave


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: AppleScript-ObjC XCode compile errors
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Another Weird AppleScript-ObjC Problem
  • Next by Date: POSIX vs Macinotosh Path Strings
  • Previous by thread: Re: Checking a Record for a Field
  • Next by thread: Re: AppleScript-ObjC XCode compile errors
  • Index(es):
    • Date
    • Thread