How to use "send"
Dar Scott
dsc at swcp.com
Tue Jun 10 14:48:01 EDT 2003
On Tuesday, June 10, 2003, at 01:27 PM, J. Landman Gay wrote:
> I'd do something like this:
>
> on setTitle n
> if n is empty then put 1 into n
> set the title of graphic "coverMask" to "Releasing piece " \
> & n & "..."
> add 1 to n
> if n < 7
> then send "setTitle n" to me in 1 second
> end setTitle
>
> To start it off, use either of these in the calling handler:
>
> setTitle 1
> setTitle
I wrote...
> on updateTitle i
> if i is empty then
> put 1 into i
> end if
> set the title of graphic "coverMask" to "Releasing piece " & i &
> "..."
> if i < 6 then
> send "updateTitle i-1" to me in 1 seconds
> end if
> end updateTitle
>
>
> Then in your code put this
>
> updateTitle
Great Minds think alike!!
And the really great ones don't subtract when adding is called for.
Barry! Don't use mine without changing the minus to plus!
Dar Scott
More information about the use-livecode
mailing list