propertyNames

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the propertyNames
propertyNames()
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the propertyNames
if it is among the lines of the propertyNames then beep
Values
NameTypeDescription
return

The propertyNames function returns a list of property names, one per line.

RelatedKeyword: line
Property: properties, customProperties
Function: constantNames, functionNames, commandNames, colorNames
Glossary: property, custom property, LiveCode, return, reserved word
Control Structure: setProp, function
Description

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

The propertyNames function returns all the properties that can be used in LiveCode, including synonyms.

Tagsproperties