<p>Am 25.11.2013 15:13 schrieb "Juha Manninen" <<a href="mailto:juha.manninen62@gmail.com">juha.manninen62@gmail.com</a>>:</p>
<p>> unit Unit2;<br>
> {$mode delphi}<br>
> interface<br>
><br>
> type<br>
> TRootMove = record<br>
> score: integer;<br>
> node_count: uint64;<br>
> end;<br>
><br>
> operator < (m1, m2: TRootMove) LessThan : Boolean;<br>
><br>
> implementation<br>
><br>
> operator < (m1, m2: TRootMove) LessThan : Boolean;<br>
> begin<br>
> if m1.score <> m2.score then<br>
> result := m1.score < m2.score<br>
> else<br>
> result := m1.node_count < m2.node_count;<br>
> end;<br>
><br>
> end.</p>
<p>Neither global operators nor symbolic (<, >, etc.) operator names are supported by Delphi.</p>
<p>Regards,<br>
Sven</p>