--- parser3/tests/180.html 2008/06/16 10:37:02 1.1 +++ parser3/tests/180.html 2010/07/03 07:21:52 1.3 @@ -15,22 +15,20 @@ $tList[^table::create{sIP z - - + + ^tList.menu{ $dLong[] - $sErr[^safe{$dLong(^math:ip2long[$tList.sIP])}] + $sErr[^safe{$dLong(^inet:aton[$tList.sIP])}] - + }
IP^^math:ip2long[IP]^^math:long2ip(^^math:ip2long[IP])^^inet:aton[IP]^^inet:ntoa(^^inet:aton[IP])
$tList.sIP ^if(def $dLong){^dLong.format[%u]}{$sErr}^if(def $dLong){^safe{^math:long2ip($dLong)}}{&mdash^;}^if(def $dLong){^safe{^inet:ntoa($dLong)}}{&mdash^;}
- - @safe[jCode] ^try{ $result[$jCode]