set the stackFileVersion

Klaus Major klaus at
Mon Nov 27 10:58:07 EST 2006

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  

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


Klaus Major
klaus at

More information about the Use-livecode mailing list