<div dir="ltr"><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre"><div>    <span style="color:rgb(86,156,214)">GENERIC</span> GHandle<T, R> = <span style="color:rgb(86,156,214)">CLASS</span></div><div>        <span style="color:rgb(86,156,214)">PROTECTED</span></div><div>            it: <span style="color:rgb(86,156,214)">Array</span> [R] <span style="color:rgb(86,156,214)">of</span> T;</div><div>            <span style="color:rgb(86,156,214)">FUNCTION</span> <span style="color:rgb(220,220,170)">readIt</span>(p: R): T; <span style="color:rgb(86,156,214)">VIRTUAL</span>;</div><div>            <span style="color:rgb(86,156,214)">PROCEDURE</span> <span style="color:rgb(220,220,170)">WriteIt</span>(p: R; what: T); <span style="color:rgb(86,156,214)">VIRTUAL</span>;</div><div>        <span style="color:rgb(86,156,214)">PUBLIC</span></div><div>            <span style="color:rgb(86,156,214)">PROPERTY</span> <span style="color:rgb(220,220,170)">gimmeIt</span>[p: R] <span style="color:rgb(86,156,214)">READ</span> ReadIt <span style="color:rgb(86,156,214)">WRITE</span> Writeit; <span style="color:rgb(86,156,214)">DEFAULT</span>; <span style="color:rgb(106,153,85)">(* does this work? x.y -> x.it.y *)</span></div><div>    <span style="color:rgb(86,156,214)">END</span>;</div></div><div><br></div><div>Error: Error in type definition just after R on line 3.</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><a href="http://www.kring.co.uk" target="_blank">http://www.kring.co.uk</a></div></div>