On 1/16/01 8:28 AM, "Barry Wainwright" <[EMAIL PROTECTED]>
wrote:

> PS:
> 
> I wanted to ask why this line wouldn¹t work:
> 
> set (item 1 of theContact)'s {business address, Home Address} to
> theAddresses
> 
> I had to break it up into two separate assignments.
> 
> Any clues?

Your parentheses don't make good sense here. This should work fine (assuming
that the variable theAddresses is already defined properly as a postal
address record):

    set item 1 of theContact's {business address, Home Address} to
theAddresses


or even:

    set item 1 of (theContact's {business address, Home Address}) to
theAddresses


There's no (item 1 of theContact).  theContact doesn't have items since it's
not a list - at least no contact I know is a list. I'm presuming that the
variable theContact represents a single contact in Entourage, yes?

Always try evaluating inside the the parentheses first to see if it means
what you want.  

-- 
Paul 


--
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives:
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to