[fpc-devel] Re: Testing for..in feature

Alexander Klenin klenin at gmail.com
Tue Nov 3 23:00:59 CET 2009


Another minor problem:
--
begin
  for ch in S do Writeln(ch);
end.
--
Results in:

t.pp(2,10) Error: Identifier not found "ch"
t.pp(2,15) Error: Identifier not found "S"
t.pp(2,28) Error: Identifier not found "ch"
t.pp(2,29) Error: Can not find an enumerator for the type "<erroneous type>"

IMHO the last two errors are not needed.

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list