Re: AppleScript strings fail
Re: AppleScript strings fail
- Subject: Re: AppleScript strings fail
- From: "Mark J. Reed" <email@hidden>
- Date: Sun, 26 Oct 2008 18:02:02 -0400
On Sun, Oct 26, 2008 at 1:06 PM, Nigel Garvey
<email@hidden> wrote:
> has wrote on Sat, 25 Oct 2008 22:56:15 +0100:
>
>>FYI,
>>
>>"1" < "@"
>>--> false
>>
>>This returned 'true' a few months ago; now it returns 'false'.
Hm. That behavior doesn't seem to be limited to AppleScript:
$ perl -le 'print(( "1" < "@" ) ? "true" : "false")'
false
Although other languages behave OK:
$ python -c 'print "1" < "@"'
True
$ ruby -e 'puts "1" < "@"'
true
$ echo 'puts [expr { "1" < "@" }]' | tclsh -
1
--
Mark J. Reed <email@hidden>
_______________________________________________
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