Igor- I have to say that the concept of a local constant makes absolutely no sense to me. In any reasonable language I would expect a compiler error if I tried to redefine a constant, much as the LiveCode engine does if you try to redefine a constant outside of a handler. -- -Mark Wieder mwieder at ahsoftware.net