Created
August 18, 2018 08:45
-
-
Save xotonic/007e1e95d2f946295e6b0479e07437db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.10; | |
contract StringHolder { | |
string savedString; | |
function setString( string newString ) public { | |
savedString = newString; | |
} | |
function getString() public constant returns( string ) { | |
return savedString; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment