Re: Property and variable
Re: Property and variable
- Subject: Re: Property and variable
- From: Jan Bultereys <email@hidden>
- Date: Fri, 03 Nov 2006 16:45:47 +0100
- Thread-topic: Property and variable
Title: Re: Property and variable
Ok, does this mean I can not link a variable to a property?
What is the workaround?
Many thanks
jan
From: Axel Luttgens <email@hidden>
Reply-To: AppleScript Users <email@hidden>
Date: Fri, 03 Nov 2006 16:42:50 +0100
To: AppleScript Users <email@hidden>
Subject: Re: Property and variable
On 3/11/06 16:11, Jan Bultereys wrote:
Property and variable Hi all,
Just a quick question:
Why can I not link a property to a variable:
Eg. Works
property theFolders : 5
Eg. Doesn’t work
property theFolders : theFoldersVar
Where thefoldervar is a list
Because properties are defined (and initialized) at compile-time.
Other variables are set during execution, and are thus not available for initializing a property.
But you may use a (previously) defined property:
property a : "hello"
property b : a
b
--> "hello"
HTH,
Aexl
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden