1. KILL THAT TIMER !!!!!!

Hy,

Anyone noticed that in Dos32Lib the killTimer procedure doesn't work ?

The org. proc. is :

global procedure killTimer( integer id, integer timerId )
    sequence timer
    for i = 1 to length( timers ) do
        timer = timers[i]
        if timers[TimerWin] = id
        and timers[TimerId] = timerId then
            timers = timers[1..i-1] & timers[i+1..length(timers)]
            return
        end if
    end for
end procedure


But it should be :

global procedure killTimer( integer id, integer timerId )
    sequence timer
    for i = 1 to length( timers ) do
        timer = timers[i]
        if timer[TimerWin] = id
        and timer[TimerId] = timerId then
            timers = timers[1..i-1] & timers[i+1..length(timers)]
            return
        end if
    end for
end procedure


David Cuny forgot to remove the "s" at the "if" statement.
Nothing special....

Bye,
PQ
QC


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

2. Re: KILL THAT TIMER !!!!!!

Patrick Quist wrote:

> Anyone noticed that in Dos32Lib the killTimer procedure
> doesn't work ?

Thanks for the bug fix. I'll try to get a new version posted soon.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu