[fpc-pascal] String type compatibility
xrfang at gmail.com
Wed Apr 3 10:56:06 CEST 2013
2013/4/3 Marco van de Voort <marcov at stack.nl>
> Shortstring, is an alias for shortstring the maximum size. Use getters
> and setters if you want to make this work.
Thanks, however, I am just defining getter. So, to make this work, I need
to define things like:
MyProp = string;
then use it in class, right? I thought it is should be compatible...
BTW, recently there are many discussions about language features, now I
would like to ask one question, why the following is not supported in
procedure SomeThing(AParam: array[0..10] of Integer);
procedure SomeThing(Aparam: string);
But you have to define a custom type first?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal