Exist(macroname) returns 8 if the macro exists (loaded) rather than the 6 stated in the documentation. Is this a bug or is the documentation for version 6 and 6.1 wrong? What should all the other values be?
This is very useful as we have a large customised application and with this feature I can enable project specific code to be inserted to the core application routinely.
Your right... I hadn't noticed that before. I'm also not sure whether it's a bug or documentation error. In either case it would probably be easier just to change the documentation.
I verified that it is just the documentation that is wrong. It used to return 6, but we changed this to 8 in 1995. The return value of 6 is now only used internally. All other return values should be correct as documented.
We'll update our documentation...looks like this one has slipped through for some time.