title: Alternatives for For..in loop in Delphi 7?
body: <p>I'm getting an error with Delphi 7 on for in loop when compiling this code <a href="https://theroadtodelphi.wordpress.com/2013/03/27/getting-processor-info-using-object-pascal-delphi-fpc-and-the-tsmbios/" rel="nofollow">Link</a></p>
  
  <pre><code>procedure GetProcessorInfo;
  Var
    SMBios             : TSMBios;
    LProcessorInfo     : TProcessorInformation;
    LSRAMTypes         : TCacheSRAMTypes;
  begin
    SMBios:=TSMBios.Create;
    try
        WriteLn('Processor Information');
        if SMBios.HasProcessorInfo then
        for LProcessorInfo in SMBios.ProcessorInfo do // &lt;-- Error here
        begin
          ...
        end;
    ...
  end;
  </code></pre>
  
  <p>Error message:</p>
  
  <blockquote>
    <p>[Error] Project1.dpr(52): Operator not applicable to this operand type</p>
  </blockquote>
  
  <p>Any alternative way ? or how can I fix it ?</p>