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
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to