> function altGoodMacSystemForUnzip > put systemVersion() into tNum > set itemDel to "." > put item 1 of tNum into t1 > put item 2 of tNum into t2 > put item 3 of tNum into t3 > if t1 < 10 then return false > if t2 < 2 then return false > if t2 = 2 and t3 > 8 then return true > if t2 > 2 then return true > return false > end altGoodMacSystemForUnzip
Hey Chipp, FYI, here's a shorter way of performing the same check: function altGoodMacSystemForUnzip put systemVersion() into tNum split tNum by "." return (tNum[1]>=10 and ((tNum[2]=2 and tNum[3]>8) or (tNum[2] >2))) end altGoodMacSystemForUnzip Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ _______________________________________________ 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
