//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.18; contract SimpleStore { enum week_days { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday } week_days week; week_days choice; week_days constant default_value = week_days.Sunday; function set_value() public { choice = week_days.Thursday; } function get_choice( ) public view returns (week_days) { return choice; } function getdefaultvalue( ) public pure returns(week_days) { return default_value; } }
0.4.18