<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/4/3 Marco van de Voort <span dir="ltr"><<a href="mailto:marcov@stack.nl" target="_blank">marcov@stack.nl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
</div>Shortstring, is an alias for shortstring[255] the maximum size. Use getters<br>
and setters if you want to make this work.<br></blockquote></div><br></div><div class="gmail_extra">Thanks, however, I am just defining getter. So, to make this work, I need to define things like:<br><br>type<br></div><div class="gmail_extra">
MyProp = string[5];<br><br></div><div class="gmail_extra">then use it in class, right? I thought it is should be compatible...<br><br></div><div class="gmail_extra">BTW, recently there are many discussions about language features, now I would like to ask one question, why the following is not supported in pascal:<br>
<br></div><div class="gmail_extra">procedure SomeThing(AParam: array[0..10] of Integer);<br><br></div><div class="gmail_extra">or <br><br></div><div class="gmail_extra">procedure SomeThing(Aparam: string[10]);<br><br></div>
<div class="gmail_extra">But you have to define a custom type first?<br><br></div><div class="gmail_extra"><br></div></div>