Re: regarde et apprend, watch and listen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt, Matt, and Matt

This works.  I know because I just finished a program on it.  It counts
down from 5 to 1, then stops for 60 seconds.  ie.

snippet from pulse.ex
for i =3D 5 to 1 by -1 do
    machine_proc(1,7500)
    t =3D time() + 0.1
    while time() < t do
    end while
    machine_proc(1,0)
    t =3D time() + 0.9
    while time() < t do
    end while
end for

Don't worry about whats in the for.   Its unconventional for Euphoria, bu=
t
I used it to avoid includes for speed.  Its not what one should write in
normal cases.

--Alan
 =

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu