1. Re: killing birds

On Fri, 18 Sep 1998 17:01:51 +1200 "BABOR, JIRI" <J.Babor at GNS.CRI.NZ>
writes:
>Hawke,
>
>You just dispatched not just two, but THREE birds with one stray
>bullet!
>You also killed the goose that lays the golden eggs: Euphoria blink
>
>Instead of your, relative short code
>
>    for a=0  to 256 do
>       for y=0 to 39 do
>         pixel(a,{a,y})
>       end for
>    end for
>
>try a bit longer but much faster
>
>    sequence colors
>    colors=repeat(0,256)
>    for i=1 to 256 do
>        colors[i]=i-1
>    end for
>    for i=0 to 39 do
>        pixel(colors,{0,i})
>    end for
>
>which uses the pixel routine less often with a huge speed gain. Also
>you could tell the newbie, where to find select.e (DEMO subdirectory).
>jiri
>
I may be a newbie at Euphoria, but at least I know where select.e is.
Besides, you forgot to include graphics.e. BTW, thanx for the new code! U
know something, I think my Compaq monitor is cheaper than this monitor.

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu