functionNames

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the functionNames
functionNames()
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the functionNames
if myHandlerName is in the functionNames then answer "Choose another name."
Values
NameTypeDescription
return

The functionNames function returns one function name per line.

RelatedKeyword: line
Function: constantNames, propertyNames, commandNames, variableNames, colorNames
Glossary: handler, LiveCode, custom function, function, return, reserved word
Control Structure: function
Description

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

The functionNames function returns all the built-in functions that can be used in LiveCode, including synonyms.