Speed Bump
Dave Cragg
dcragg at lacscentre.co.uk
Fri Feb 10 02:59:56 EST 2006
On 10 Feb 2006, at 07:06, Scott Rossi wrote:
>
> function compareData set1,set2
> repeat for each item V in set1
> put max(V,item 1 of set2) after tData
> delete item 1 of set2
> end repeat
> return tData
> end compareData
Here's one way.
function compareData set1,set2
split set2 by comma
put 0 into tCount
repeat for each item V in set1
add 1 to tCount
put max(V,set2[tCount]) after tData
end repeat
return tData
end compareData
Cheers
Dave
More information about the use-livecode
mailing list