Okay this is why they call me Sly Dawg. I used the engine quirk against it to
produce this:
on mouseUp
repeat with i = 1 to 10
put formatNumber(i, "00") into myArray [i]
end repeat
breakpoint
end mouseUp
function formatNumber pSourceString, pFormat
set the numberFormat to pFormat
put pSourceString into aArray [pSourceString]
put the keys of aArray into tResult
return tResult
end formatNumber
Booyah!
Bob S
_______________________________________________
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