Skip to main content
edited body
Source Link
Yongjian P.
  • 4.3k
  • 1
  • 4
  • 10

String is a datatype that supports using literal single(‘) and double(“ ”) quotes, while uint is a datatype that supports using positive integers. In the code above, uint is not like `string'string due to this error: TypeError: Type uint8[4] memory is not implicitly convertible to expected type uint256[4] memory.

String is a datatype that supports using literal single(‘) and double(“ ”) quotes, while uint is a datatype that supports using positive integers. In the code above, uint is not like `string' due to this error: TypeError: Type uint8[4] memory is not implicitly convertible to expected type uint256[4] memory.

String is a datatype that supports using literal single(‘) and double(“ ”) quotes, while uint is a datatype that supports using positive integers. In the code above, uint is not like string due to this error: TypeError: Type uint8[4] memory is not implicitly convertible to expected type uint256[4] memory.

added 167 characters in body
Source Link
Yongjian P.
  • 4.3k
  • 1
  • 4
  • 10

String is a datatype that supports using literal single(‘) and double(“ ”) quotes, while uint is a datatype that supports using positive integers. In the code above, uint is not like `string' due to this error: TypeError: Type uint8[4] memory is not implicitly convertible to expected type uint256[4] memory.

String is a datatype that supports using literal single(‘) and double(“ ”) quotes, while uint is a datatype that supports using positive integers.

String is a datatype that supports using literal single(‘) and double(“ ”) quotes, while uint is a datatype that supports using positive integers. In the code above, uint is not like `string' due to this error: TypeError: Type uint8[4] memory is not implicitly convertible to expected type uint256[4] memory.

Source Link
Yongjian P.
  • 4.3k
  • 1
  • 4
  • 10

String is a datatype that supports using literal single(‘) and double(“ ”) quotes, while uint is a datatype that supports using positive integers.