Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

solidity syntax return

contract Test {
 
 	function returnMeaning() public view returns(uint){

		return 42;

      // Alternative return statement to return multiple values
      // return(42, 24);
   }

}
 
PREVIOUS NEXT
Tagged: #solidity #syntax #return
ADD COMMENT
Topic
Name
2+5 =