title: TypeError: Data location must be "memory" for parameter in function, but none was given
body: <p>I tried to compile my code, but I got the following error:</p>
  
  <blockquote>
    <p>TypeError: Data location must be "memory" for parameter in function,
    but none was given</p>
  </blockquote>
  
  <p>my code:</p>
  
  <pre><code>pragma solidity ^0.5.0;
  
  contract memeRegistry {
      string url;
      string name;
      uint timestamp;
  
      function setmeme(string _url,string _name, uint _timestamp) public{
          url = _url;
          name = _name;
          timestamp = _timestamp;   
      }
  }
  </code></pre>