Re: evalhate without parsing?
Re: evalhate without parsing?
- Subject: Re: evalhate without parsing?
- From: Robert Poland <email@hidden>
- Date: Thu, 02 May 2013 16:27:33 -0600
Thanks again Chris,
So much for the easy way out…
On May 2, 2013, at 4:05 PM, Christopher Stone <email@hidden> wrote:
> On May 02, 2013, at 16:50, Robert Poland <email@hidden> wrote:
>> My point is that comparing LIKE strings with embedded UNLIKE numbers seem to respond to the embedded numbers.
> ______________________________________________________________________
>
> Hey Bob,
>
> Well. That can be dangerous, because the numbers are not the things being compared.
>
> In this particular case it's probably safe because of the way the characters are stacked.
>
> But if Smile goes into the double-digits there could be problems:
>
> -------------------------------------------------------------------------------------------
>
> set strA to "Smile 3.6.1 (build 710) full edition"
> set strB to "Smile 3.10.0 (build 768) full edition"
>
> strB > strA --> false
>
> -------------------------------------------------------------------------------------------
>
> --
> Best Regards,
> Chris
Robert Poland - Fort Collins, CO
_______________________________________________
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