Lingo Dictionary > G-K > getProp() |
![]() ![]() ![]() |
getProp()
Syntax
getProp(
list
,
property
)
list
.
property
Description
Property list function; identifies the value associated with the property specified by property
in the property list specified by list
.
Almost identical to the getaProp
command, the getProp
command displays an error message if the specified property is not in the list or if you specify a linear list.
Example
This statement identifies the value associated with the property #c
in the property list Answers, which consists of [#a:10, #b:12, #c:15, #d:22]:
getProp(Answers, #c)
The result is 15, because 15 is the value associated with #c
.
See also
![]() ![]() ![]() |