• 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: property in script object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: property in script object


  • Subject: Re: property in script object
  • From: Axel Luttgens <email@hidden>
  • Date: Tue, 29 Jun 2010 12:56:38 +0200

Le 29 juin 2010 à 12:31:05, KOENIG Yvan a écrit :

> Hello
>
> Here is a behaviour which surprised me.
>
> [...]
>
> On pass 2, the property howto contains missing value.
> So, in the script object, the property isn't persistant.
>
> Is it the normal behaviour ?

Hello Yvan,

In your second code snippet, property "howto" belongs to the "o" script object.
But that script object is local to the "testeur" handler, and is thus created upon execution of that handler, and destroyed as soon as that handler exits.

HTH,
Axel

 _______________________________________________
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: property in script object
      • From: KOENIG Yvan <email@hidden>
References: 
 >property in script object (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: property in script object
  • Next by Date: Re: property in script object
  • Previous by thread: Re: property in script object
  • Next by thread: Re: property in script object
  • Index(es):
    • Date
    • Thread