--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)
--Based on the integer to hex script by Kevan Dettelbach
on hexToInt hexNum
hexdigits = ["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"]
numstring = 0
repeat with x = 1 to 6
numString = numString * 16
numString = numString + hexDigits.getOne(hexNum.char[x]) - 1
end repeat
return numString
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA