В Thu, 18 Apr 2013 13:56:18 +0200
Daniel-Constantin Mierla <miconda(a)gmail.com> пишет:
Anyhow, I would recommend to use s.select
transformation to get the
ip bytes:
$var(i1) = $(si{s.select,0,.});
...
$var(i4) = $(si{s.select,4,.});
Then use this variables to compute the big int value.
Thanks for tips, now seems better and work:
$avp(s:numipa)=$(si{s.select,0,.})<<24|$(si{s.select,1,.})<<16|$(si{s.select,2,.})<<8|$(si{s.select,3,.});
--
SY,
Victor
JID: coyote(a)bks.tv
JID: coyote(a)bryansktel.ru
I use FREE operation system: 3.8.4-calculate GNU/Linux