Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Average of times

From: antonr:lexicon at: 4-May-2004 0:23

Let b be a block containing your session times.
>> b: [1:00:21 2:00 3:30]
== [1:00:21 2:00 3:30]
>> t: 0:0 ; total
== 0:00
>> foreach time b [t: t + time]
== 6:30:21
>> t / length? b
== 2:10:07 Anton.