Anonymous
public text v1 · immutableobjectdef MyObject
{
variable string ObjectString
method Initialize(string theString)
{
ObjectString:Set[${theString}]
}
}
function main()
{
collection:MyObject MyCollection
MyCollection:Set["First",${MyObject["Hello World"]}]
echo ${MyCollection["First"].ObjectString}
}