With this code:
pragma solidity ^0.4.0;
contract Test {
string word = "Hi Guys";
function getWord() constant returns(string) {
return word;
}
function resetWord() returns(string) {
word="Hi Guys again";
return("Hi Guys again");
}
}
With function getWord() i got "Hi Guys" in the bottom window of Remix. But with function resetWord i doesn't get text on the bottom window of Remix. What i get is:
transact to browser/test.sol:Test.resetWord pending ... [vm] from:0xca3...a733c, to:browser/test.sol:Test.resetWord() 0x0dc...97caf, value:0 wei, data:0x1f2...09393, 0 logs, hash:0xaea...bad80
and i don't see "Hi Guys again". The content of variable word is correctly update.
Why? Can anyone tell me why?
Thanks in advance.
