pragma solidity ^0.4.0; contract Panel5 { string text = ""; event changed(string txt); function set(string _text) public { text = _text; emit changed(text); } function read() public view returns(string) { return text; } }