Skip to content

Commit 545fef5

Browse files
committed
[[ Bug 20931 ]] Update LCB language reference
1 parent 409a628 commit 545fef5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/guides/LiveCode Builder Language Reference.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,8 @@ Result expressions are not assignable.
10601060
: '[' [ <Elements: ExpressionList> ] ']'
10611061

10621062
A list expression evaluates all the elements in the expression list from
1063-
left to right and constructs a list value with them as elements.
1063+
left to right and constructs a list value with them as elements. Each
1064+
expression is converted to `optional any` when constructing the list.
10641065

10651066
The elements list is optional, so the empty list can be specified as
10661067
*[]*.
@@ -1078,7 +1079,8 @@ List expressions are not assignable.
10781079

10791080
An array expression evaluates all of the key and value expressions
10801081
from left to right, and constructs an **Array** value as appropriate.
1081-
Each key expression must evaluate to a **String**.
1082+
Each key expression must evaluate to a **String**. Each value expression
1083+
is converted to `optional any` when constructing the array.
10821084

10831085
The contents are optional, so the empty array can be written as `{}`.
10841086

0 commit comments

Comments
 (0)