Hi Troy,

Lo an example of erroneous error code (0) which does not point that the lex is 
empty.

#include <rawld.h>

void main(int argc, char **argv)
{
        RawLD::createModule("tmp/lextest");
        RawLD lex("tmp/lextest");

        lex.SetKey("a");
        lex << "aaa";

        lex.SetKey("a");
        lex.deleteEntry();

        lex = TOP;
        std::cout << "Error() = " << (int)lex.Error() << std::endl;
}

-- 
Victor Porton ([EMAIL PROTECTED])

Reply via email to