revAppVersion = 0
Wouter
wouter.abraham at pi.be
Tue Jul 20 03:26:27 EDT 2004
proposal: revAppVersion = 0
Richard Gaskin ambassador at fourthworld.com
Mon Jul 19 17:39:49 EDT 2004
> As I've written here before, in general I have no interest in adding
> Rev
> glue routines to the IDE. We choose to work in MC when we want only
> built-in messages and built-in properties, and anything not in the
> engine is of our own making, completely under our control.
>
> 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.
Determining running in the Rev IDE or in the MC IDE is easy.
put "license.rev" is in the effective filename of stack "home"
into tRunningRev
or
if "license.rev" is in the effective filename of stack "home"
then ...
> 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
By all means do.
Greetings,
WA
More information about the metacard
mailing list