On Jan 2, 2012, at 3:54 PM, Bryan McCormick wrote:
> put baseConvert(theNum,10,2) into tBaseConverted
> if length(tBaseConverted) <8 then
> repeat until length(tBaseConverted)= 8
> put "0" before tBaseConverted
> end repeat
> end if
Alternative technique is to...
put char -8 to -1 of ("00000000" & tBaseConverted ) into tBaseConverted
Jim Ault
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode