Livecode Wiki
Register
Advertisement

Returns a list of all built-in commands in LiveCode.

Built-in Function handler[]

Syntax:

commandNames()

Examples:

the commandNames
if field "Name" is among the lines of the commandNames then exit repeat

Use the commandNames function to check whether a particular command already exists in LiveCode, to avoid using a reserved word for your own custom handlers.

The commandNames function returns all the commands that can be used in LiveCode, including synonyms.

See also: propertyNames (function),functionNames (function),

Advertisement