In our previous episode, Xiangrong Fang said:
> 
> worksheet.lpr(9,42) Error: Incompatible types: got "TWorksheet.ShortString"
> expected "ShortString"
> 
> I wonder who defined "TWorksheet.ShortString"? Why string[5] is not
> compatible with ShortString?

Shortstring, is an alias for shortstring[255] the maximum size. Use getters
and setters if you want to make this work.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to