<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="" style="font-family: monospace; white-space: pre-wrap;">  > </span><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">I only declare TYPEs if I use them several times (and as base</span></font><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">  > RECORD of a type inheritance hierarchy). To be able to use</span></font></div><div class=""><font face="monospace" class=""><span style="white-space: pre-wrap;" class="">  > them several times, I normally declare them on module level.
  >
  > Jörg
<br class=""></span></font><font face="monospace" class=""><span class="" style="white-space: pre-wrap;">That’s the approach that most people seem to take (apart from</span></font></div><div class=""><font face="monospace" class=""><span class="" style="white-space: pre-wrap;">the few exceptions that were cited earlier).</span></font></div><div class=""><font face="monospace" class=""><span class="" style="white-space: pre-wrap;"><br class=""></span></font></div><div class=""><font face="monospace" class=""><span class="" style="white-space: pre-wrap;">PS: There is another (small) difference between global and local</span></font></div><div class=""><font face="monospace" class=""><span class="" style="white-space: pre-wrap;">record types: no type descriptors are built for local </span></font><font face="monospace" class=""><span class="" style="white-space: pre-wrap;">record types.</span></font></div><div class=""><font face="monospace" class=""><span class="" style="white-space: pre-wrap;">This makes</span></font><span style="white-space: pre-wrap; font-family: monospace;" class=""> the object file a tiny little bit smaller ;-)</span></div><div class=""><font face="monospace" class=""><span class="" style="white-space: pre-wrap;"><br class=""></span></font></div><div class=""><br class=""></div></body></html>