Larry, I like your tic toc pair. However I sometimes wish to nest their use as in the example: >> tic tic wait 3 toc tic wait 5 toc tic wait 2 toc toc 0:00:03 0:00:05 0:00:02 0:00:10 >> The program I used is stack: copy [] push: func [x][insert stack x exit] pop: func [/local a] [ if (length? stack) = 0 [Print "can't pop empty stack" exit] a: first stack remove stack a ] tic: func [][ push now/time exit] toc: func [][print now/time - pop exit] What do you think? Jerry
- [REBOL] Handy Timer Functions Re:(2) 70740 . 503
