title: How to declare an object in the "Mastering delphi" book
body: <p>Im learning delphi through books and am encountering a problem in this chapter: <a href="http://etutorials.org/Programming/mastering+delphi+7/Part+IV+Delphi+the+Internet+and+a+.NET+Preview/Chapter+19+Internet+Programming+Sockets+and+Indy/Building+Socket+Applications/#toc" rel="nofollow">http://etutorials.org/Programming/mastering+delphi+7/Part+IV+Delphi+the+Internet+and+a+.NET+Preview/Chapter+19+Internet+Programming+Sockets+and+Indy/Building+Socket+Applications/#toc</a></p>
  
  <p>It is this peace of code that gives me trouble because i dont know where to write it.</p>
  
  <pre><code>object IdTCPServer1: TIdTCPServer
    CommandHandlers = &lt;
      item
        Command = 'test'
        Name = 'TIdCommandHandler0'
        ParseParams = False
        ReplyNormal.NumericCode = 100
        ReplyNormal.Text.Strings = (
          'Hello from your Indy Server')
        ReplyNormal.TextCode = '100'
      end
  </code></pre>