Hi All,
Apology and correction of question.
The code in the original post was an over simplification of the problem.
Further investigation shows the problem is that KVS is not storing BigDecimals, but storing a null.
The following code is a more accurate representation of the problem.
Private d1 As BigDecimal
d1.Initialize(55)
storelist.Set(7, d1)
Log("Number Pre KVS = "&storelist.Get(7)) ' Correctly shows 55
kvs.PutObject("storelist", storelist)
storelist = kvs.GetObject("storelist")
Log("Number Post KVS = "&storelist.Get(7)) 'Returns null
The question now becomes how to save BigDecimals in KVS
Regards Roger