Of course as soon as I'd sent the email I figured out a faster way :-)
get binaryDecode("n*", it, c)
if c < 0 then
put 65536 - c into c
end if
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/