Sort IP List

Bob Sneidar bobsneidar at iotecdigital.com
Fri Jun 29 18:13:37 EDT 2018


Yeah mine won't run. I have:

function sortIPList2 pIPList
   set the itemdelimiter to "."
   try
      sort lines of pIPList ascending numeric by (item 1 of each +0) & (item 2 of each + 0) & (item 3 of each + 0) & (item 4 of each + 0)
   catch theError
      breakpoint
   end try
   return pIPList
end sortIPList2

Script hits breakpoint but there is nothing in theError. What version/OS are you running? We may have uncovered an engine anomaly. 

Bob S

> On Jun 29, 2018, at 15:00 , Mike Bonner via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> sort lines of tList ascending numeric by (item 1 of each +0) & (item 2 of
> each + 0) & (item 3 of each + 0) & (item 4 of each + 0)





More information about the Use-livecode mailing list