Menu

error in compiling OXmlTest

Anonymous
2015-04-13
2015-04-13
  • Anonymous

    Anonymous - 2015-04-13

    I have problem in compiling the demo program 'OXmlTest'. I got the following error messages:
    -- uXmlTest.pas(2378,20) Error: identifier idents no member "CurrentChar"
    -- uXmlTest.pas(2376,36) Error: Operator is not overloaded: not "TOTextReader.TOTextReader. ReadNextChar(var Char):Boolean;"

    procedure TForm1.MatchTestFiles(const aFileSource, aFileTarget: OWideString);
    ....
    begin
    ...
    if not xReader1.ReadNextChar then
    Break;
    until xReader1.CurrentChar^ = '>'; {error here}

    repeat
      if not xReader2.ReadNextChar then
        Break;
    until xReader2.CurrentChar^ = '>';   {error here}
    

    ....
    end;

    Would appreciate if you can help on the above.

     
  • Ondrej Pokorny

    Ondrej Pokorny - 2015-04-13
     

Anonymous
Anonymous

Add attachments
Cancel