Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

Method ADT.Struct()->`[]=()


Method `[]=

ADT.Struct()[ item ] = y
ADT.Struct()->X = y

Description

It is possible to assign a new value to a struct item by indexing it by name and assign a value.