Re: 10.4.9 versus 10.4.10
Re: 10.4.9 versus 10.4.10
- Subject: Re: 10.4.9 versus 10.4.10
- From: Luther Fuller <email@hidden>
- Date: Sat, 15 Mar 2008 17:49:48 -0500
Avoid 'sysv', BCD or HEX completely and use this ...
set dotV to (system version of (system info)) & ".0.0"
set AppleScript's text item delimiters to "."
set numV to (text item 1 of dotV) * 1000000 + (text item 2 of dotV) *
1000 + (text item 3 of dotV)
Since numV is a (decimal) integer, you can compare versions easily.
And everyone understands decimal.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden