janschenkel at yahoo.com
Wed Oct 8 14:28:02 EDT 2003
--- Stephen Messimer <steve at messimercomputing.com>
> Hi all,
> I just downloaded 2.1 and I'm adding a statement to
> the preopenstack
> handler that checks for the version of Rev.
> If it is >= 2.1 then it sets the decorations to
> metal if < 2.1 it
> leaves the decorations alone.
> here are the statements concerned
> on preOpenStack
> -- other stuff
> if the version >= 2.1 then
> set the metal of this stack to true
> end if
> --other stuff
> end preOpenStack
> So I add this to my stack save and relaunch and
> nothing happens?
> The statements look OK. so I open the msgbox and
> type "put the
> version" and hit OK and what yo my wondering eyes
> should appear but
> What gives? Is this the metacard version or what. I
> thought that the
> version function should give me the current Rev
> version number.
Check the global 'gRevAppVersion' ; while your in the
IDE, 'the version' returns the MetaCard version ; but
I seem to recall from my HyperCard days, that it would
actually return the version of the app in standalones.
Not sure if that applies to MC/Rev, though.
Hope this helped,
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
More information about the Use-livecode