Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.5.1;
- contract and {
- string d = "Hello";
- function getValueOfabc() public view returns(string) {
- return d;
- }
- }
- browser/mulreturn.sol:7:50: TypeError: Data location must be "memory" for return parameter in function, but none was given.
- function getValueOfabc() public view returns(string) {
- ^----^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement