Page MenuHomeWickedGov Phorge

array-assignment.t
No OneTemporary

Size
253 B
Referenced Files
None
Subscribers
None

array-assignment.t

test_array := [ [1, 2], [3, 4], 'useless' ];
test_array[1] := 42;
test_array[ if true then 2 else 0 end] := 'foo';
test_array[] := 17;
test_array[0][0] == 1 & test_array[0][1] == 2 & test_array[1] == 42 & test_array[2] === 'foo' & test_array[3] == 17

File Metadata

Mime Type
text/plain
Expires
Sat, May 16, 17:26 (10 h, 19 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5c/ce/1f684cddf58487082f12dffd614d
Default Alt Text
array-assignment.t (253 B)

Event Timeline