Formatting Column of Times

Ken Ray kray at sonsothunder.com
Tue Sep 6 18:59:50 EDT 2005


On 9/6/05 5:54 PM, "Alex Tweedly" <alex at tweedly.net> wrote:

> format("%2d:%02d", tHours, tMins)    -- " 3:55"
> or
> format("%02d:%02d", tHours, tMins)   -- "03:05"
> 

I didn't realize you could do this, Alex... that's neat! (Now to go back to
some scripts I've done the "long" way...)

:-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list