Intersect outputs different result in desktop and LC server

Alex Tweedly alex at tweedly.net
Wed Aug 8 18:19:58 EDT 2018


Which versions of LC are you running in each case ?

Alex.


On 08/08/2018 22:29, jbv via use-livecode wrote:
> Hi list,
> As the title says, I am getting different results when running the script
> below with LC desktop and LC server (on-rev account)...
> The result is fine on desktop, but flawed on server. What am I missing ?
>
> Thanks in advance.
> jbv
>
> on mouseUp
>     get "3622 4141 4288 5378 38090 8786 13439 16483 17329 18699 27799 28365
> 41200 35242 39109 41212 75320 43898 44702 47891 50227 50230 50232 50233
> 58901 58902 62983 63415 63416 65984 71574 73426 74288 85278 85775
> 101084 112360 113094 113355 115807 115826 116601 118017 121386 126039
> 131141 141224"
>     repeat for each word w in it
>        put 1 into Te[w]
>     end repeat
>
>     get "4141 3141 3184 3661 31910 40671 41657 48351 48490 55001 57269
> 65986 69706 73885 75741 80910 131210 82759 87543 88837 90394 92956
> 102158 102528 115929 116753 117446 128006 133712 140582"
>     repeat for each word w in it
>        put 1 into Ta[w]
>     end repeat
>
>     intersect Te with Ta
>     put the keys of Te into tkeys
>     sort lines of tkeys ascending numeric
>     put tkeys
> end mouseUp
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list