Klaus,

Your solution will still cause a compile error when the stack is opened or the script applied. Instead, do this:

do "set the stackFileVersion to" && quote & "2.4" & quote

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz

Op 27-nov-2006, om 16:58 heeft Klaus Major het volgende geschreven:

Hi Scott,

What is the preferred method for saying:

set the stackFileVersion to "2.4"

so that it doesn't cause an error in engine versions before 2.7 ?

Try this, which will check the engine's version before setting the stackfileversion:

...
if the char 1 to 3 of the version >= 2.7 then
   set the stackFileVersion to "2.4"
end if
...

Hope that helps.

 Scott Morrow

Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to