<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=271034301-16092004>
<DIV><FONT face=Arial color=#0000ff size=2>type</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=271034301-16092004>&nbsp; 
Tclass2 = class;</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp; Tclass1 = class</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp;&nbsp;&nbsp; cls2: 
Tclass2;</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp; end;</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp; Tclass2 = class</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp;&nbsp;&nbsp; cls1: 
TClass1;</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp; end;</FONT></DIV></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Ross Levis 
  [mailto:ross@stationplaylist.com]<BR><B>Sent:</B> 16 September 2004 11:36 
  AM<BR><B>To:</B> NZ Borland Developers Group - Delphi List<BR><B>Subject:</B> 
  [DUG] help<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>I'm defining 2 classes which refer to each 
  other.&nbsp; </FONT><FONT face=Arial size=2>eg.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>type</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp; Tclass1 = class</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; cls2: Tclass2;</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp; end;</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp; Tclass2 = class</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; cls1: TClass1;</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp; end;</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Obviously this is over simplfied.&nbsp; How do I 
  pre-define Tclass2 so it exists when Tclass1 is defined?&nbsp; I believe it 
  can be done but I've not needed to do this before.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><FONT color=#000000>Cheers,</FONT></FONT></DIV>
  <DIV><FONT face=Arial size=2><FONT 
color=#000000>Ross.</FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>