Re: property in script object
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