Home > Back-end >  Solidity programming errors as follows
Solidity programming errors as follows

Time:11-21

The function getlength () public view returns (uint) {
//return name. Length; Error
Return bytes (name). Length;
}

Running result error:
Browser/vote. Sol: go: Error: Expected token LBrace got 'View'
The function getlength () public view returns (uint) {

Don't know if version are not compatible and now this usage does not support the
  • Related