Início > lang > timer 
 en fr de es it nl pl pt mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Anterior  Próximo  Editar  Renomear  Desfazer  Procurar  Administração  
Documentação  
Cuidado! Esta página não está traduziada.  Veja a versão em inglês 
Timer
Time = Timer [ ( ) ] AS Float

Returns the number of elapsed seconds from the beginning of the program as a floating point number.

This function uses the system timer, so its return value is affected if the system clock is set e.g. by root with the date command.

Example 1

Print Timer

0.291657006775

DIM StartTime as Float
DIM DiffTime as Float

StartTime = Timer
ME.Show
DiffTime = Timer - StartTime
PRINT DiffTime * 1000; " msec"

0.210999976844 msec

Veja também

Funções de Data e Hora, Timer