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
contract SomeContrac { | |
unit someVar; | |
function getMyVar() constant return (string){ | |
if(someVar> 2){ | |
return("greater bro", someVar); | |
}else if (somevar == 2) { | |
return ("is exactly two", somevar); | |
}else { | |
return("is smaller two" somevar); |