That said, it occurs to me that it's difficult for a script to determine whether it's running in the Rev IDE or the MC IDE, which may be especially useful when making plugins for use in both.
Of course, the Pure Transcript approach will avoid that altogether: know the engine, trust the engine, use the engine, and all will always work everywhere.
But for folks that work in both from time to time there may be useful reasons for using some Rev libraries, and if so there should be a simple and reliable way to determine whether the Rev IDE is present.
So I'm proposing that I add this very simple function the the MC IDE backscript:
function revAppVersion return "0" end revAppVersion
This function follows the convention established by the qtVersion function, returning a version number if present (this function is available in the Rev IDE) or "0" if not.
It's only three lines, and doesn't add any new messages or properties.
Shall I add it?
-- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ [EMAIL PROTECTED] http://www.FourthWorld.com
_______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
