Missing digits when replacing single digit item with two digit item?

hh hh at livecode.org
Mon Aug 4 02:20:36 EDT 2014


Hi John,
instead of decimals use true hex (has 15 "digits")

OR, very effective, "dadaNumbers"
(my youngest daughter named this)

you may use e.g. n=48 or n=65

function dec2dada dc,n
  return numToByte(n+dc) 
end dec2dada 

function dada2dec hx,n
   return byteToNum(hx)-n
end dada2dec





More information about the use-livecode mailing list