对不起,如果它是重复的问题。“_”运算符是做什么的?
此代码来自以太坊合约手册: https ://ethereum.org/token#deploying
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {
if (msg.sender != owner) throw;
_;
}
function transferOwnership(address newOwner) onlyOwner {
owner = newOwner;
}
}