Formatting Column of Times

FlexibleLearning at aol.com FlexibleLearning at aol.com
Wed Sep 7 03:43:39 EDT 2005


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

Ken wrote:
>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...)


Excellent, Alex!
 
Could you write a little tutorial for us all? The 'format' incantation has  
always baffled me, along with the 'matchText' incantations. (Maybe I just led a 
 sheltered life)
 
/H



More information about the use-livecode mailing list