Prev: C Runtime
Next: repoSCRIPT
From: Ginny Caughey on
I just found something unexpected in ElapTime(). Try this:

FUNCTION Start()
? 'ElapTime("14:49 ", "14:49:25")', ElapTime("14:49 ", "14:49:25")
? 'ElapTime("14:49:00", "14:49:25")', ElapTime("14:49:00", "14:49:25")
? 'ElapTime(Trim("14:49 "), "14:49:25")', ElapTime(Trim("14:49 "),
"14:49:25")
WAIT

RETURN NIL--

Ginny Caughey
www.wasteworks.com




From: Geoff Schaller on
So it isn't very friendly if you don't trim the spaces out <g>



"Ginny Caughey" <ginny.caughey.online(a)wasteworks.com> wrote in message
news:00012f23$0$1931$c3e8da3(a)news.astraweb.com:

> I just found something unexpected in ElapTime(). Try this:
>
> FUNCTION Start()
> ? 'ElapTime("14:49 ", "14:49:25")', ElapTime("14:49 ", "14:49:25")
> ? 'ElapTime("14:49:00", "14:49:25")', ElapTime("14:49:00", "14:49:25")
> ? 'ElapTime(Trim("14:49 "), "14:49:25")', ElapTime(Trim("14:49 "),
> "14:49:25")
> WAIT
>
> RETURN NIL--
>
> Ginny Caughey
> www.wasteworks.com

 | 
Pages: 1
Prev: C Runtime
Next: repoSCRIPT