Re: Property and variable
Re: Property and variable
- Subject: Re: Property and variable
- From: Axel Luttgens <email@hidden>
- Date: Fri, 03 Nov 2006 16:42:50 +0100
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