Re: Question about handler
Re: Question about handler
- Subject: Re: Question about handler
- From: Robert Poland <email@hidden>
- Date: Fri, 2 Apr 2004 08:51:55 -0700
You can set pictureCount as a global variable. Do this at the top
of the script:
global pictureCount
The values of global variables are saved between runs so it is a
good idea to initialize them to clear any retained values that might
mess up your calculations. You are doing this in the open handler
already so this shouldn't be a problem.
- Ken
Is there a way to clear a variable like in C?
i.e. global pictureCount ()
Tia,
--
Bob Poland - Englewood, CO
http://www.ibrb.org/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.