Location: PHPKode > scripts > Chrono Class > chrono-class/chrono.readme.txt
------------------------------------------------------------------------------------
                                    CLASS CHRONO
------------------------------------------------------------------------------------
NEW CHRONO

    $o_chrono = new chrono([format default = "%01.3f"]);   

START CHRONO

    $o_chrono->start();         First time not needed - Constructor start chrono.
    
MARK MEMORY

    $o_chrono->mem(ID);         Put the time in Mem with id=ID.

LOOK LAP

    $o_chrono->lap();           Take time, chrono must be running, else error.
    $o_chrono->lap([ID]);       Take time from ID.

GET MEMORY

    $o_chrono->getmem();        Return number of marks in memory.
                                Push ID's in  $o_chrono->memkey array
                                Push lap's in $o_chrono->memlap array
                                (If $o_chrono->memlap[..] = ERR)

STOP CHRONO

    $o_chrono->stop();          Stop and Temporary stop (Pause - Start to continue).
                                Chrono must be running.

RESTART CHRONO

    $o_chrono->restart();       Start again from zero.
Return current item: Chrono Class