Can I get a verification that this is not my misunderstanding before pushing submit on feedback? Run this code in the window open event of a new project. Thanks.
[code]dim dict As new xojo.Core.Dictionary
dim result() As text
Dim eol As Text = CType(EndOfLine, String).ToText
dim c As color = rgb(252,79,8)
result.Append “New Framework”
result.Append "Color In: " + c.Red.ToText + “,” + c.Green.ToText + “,” + c.Blue.ToText
dict.Value(“test”) = c
Dim checkType As auto = dict.Value(“test”)
Dim info As Xojo.Introspection.TypeInfo
info = Xojo.Introspection.GetType(checkType)
result.Append "Type: " + info.name
Dim c2 As color = dict.Value(“test”)
result.Append "Color Out: " + c2.Red.ToText + “,” + c2.Green.ToText + “,” + c2.Blue.ToText
// ---------------------------
dim dict2 As new Dictionary
dim c3 As color
result.Append “------------”
result.Append “Old Framework”
result.Append "Color In: " + c.Red.ToText + “,” + c.Green.ToText + “,” + c.Blue.ToText
dict2.Value(“test”) = c
c3 = dict2.Value(“test”)
result.Append "Color Out: " + c3.Red.ToText + “,” + c3.Green.ToText + “,” + c3.Blue.ToText
MsgBox Text.Join(result,eol + eol)
[/code]