<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02.01.2016 20:41, Mathias wrote:<br>
</div>
<blockquote cite="mid:568827ED.90209@gmx.ch" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Does "Type Helper" only with standard types?<br>
The class itself it compiles without errors.<br>
But when you call, there is an error message.<br>
<br>
See link, there the code and the problem is described. ("Illegal
qualifier")<span style="color: rgb(0, 0, 0); font-family: 'Lucida
Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
18.2px; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display:
inline !important; float: none; background-color: rgb(225, 233,
242);"></span><br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.lazarusforum.de/viewtopic.php?f=10&t=9286">http://www.lazarusforum.de/viewtopic.php?f=10&t=9286</a><br>
</blockquote>
<br>
Type helpers work well with arrays without bounds:<br>
<tt><br>
</tt><tt>type</tt><tt><br>
</tt><tt> TVector = array of Single;</tt><tt><br>
</tt><tt> </tt><tt><br>
</tt><tt> TVectorHelper = Type Helper for TVector</tt><tt><br>
</tt><tt> public</tt><tt><br>
</tt><tt> procedure Add;</tt><tt><br>
</tt><tt> end;</tt><tt><br>
</tt><br>
I cannot say if the array with bounds case is a bug or feature.<br>
Delphi doesn't support either of them (XE2 tested).<br>
<br>
<br>
Ondrej<br>
</body>
</html>