Skip to main content

this

Type​

keyword

Summary​

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

Syntax​

this

Description​

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.

Examples​

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

glossary: keyword, current stack, current card, command, property, expression

keyword: card, the

object: card

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?