Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>timeh() - get time string including hundredths/secs</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     timeh() - get time string including hundredths/secs
  Usage:    <string> = timeh()
  Params:   none
  Returns:  a time string in the format HH:MM:SS.hh where HH
            are the hours, MM is the minutes, SS are the
            seconds and hh are the hundredths of a second. Useful
            for bench marking and timing operations.

 ---------------------------------- Example ---------------------------------

                 ? timeh()
                 * prints 21:45:43.78

                 * Benchmark the alltrim() function
                 * (supposed to be faster than the one in extend)

                 time1 = timeh()
                 for x = 1 to 1000
                      temp = alltrim("     test      ")
                 next
                 time2 = timeh()

                 result=(val(right(time2,5))-val(right(time1,5)))
                 ? "Speed for 1000 loops:"+str(result)


See Also: settime() checktime()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson