I am currently trying to write a contract that will be storing some simple messages. I didn't want the message length to be limited, so I figured I would put it as:
contract Contract{
struct owner {
address ownerAddress;
string message;
}
}
However, I got an error of "Error: Unable to convert elementary typename string to type." while typing this in Mix. If I replace "string" with "string32", the contract appears to compile just fine. Is there some way around this limit on strings if I want to store longer messages than 32 characters?
Comments