In the past years, I use 2.29.0 for a long time.
But when I upgrade to 2.31.0, I found something strange with scriptany class
try the following codes(which are correct in 2.29.0)
void main()
{
string testh = "hello";
string output;
any data;
data.store(testh);
any temp = data;
temp.retrieve(output); // the retrieve will return false
}
but the following codes
void main2()
{
string testh = "hello";
string output;
any data;
data.store(testh);
any temp;
temp = data;
temp.retrieve(output); // the output will get the right value "hello"
}