Livecode Wiki
Advertisement

Indicates the current stack, or the current card of the current stack.

Syntax:

this

Examples:

put the name of this card into currentName
sort cards by the mark of this card
send preOpenStack to this stack

Use the this keyword to indicate the current card or current stack in an expression.

When used in a sort command, the this keyword indicates each card to be sorted. You can use the this keyword to sort cards by a card property.

See also: card (object), stack, Stacks and cards

Advertisement