1. Black Friday Sale - 50% off

    B4A Standard for $29 instead of $59!
    Buy Now
    Dismiss Notice

Fractal

Discussion in 'Share Your Creations' started by Sergey Kravchenko, Jun 9, 2008.

  1. Sergey Kravchenko

    Sergey Kravchenko Active Member Licensed User

    Fractal
     

    Attached Files:

  2. colin9876

    colin9876 Active Member Licensed User

    clever

    nice!

    By the way, if running on the ppc it needs a doevents after the line draw, otherwise it hangs permenently with a blank screen and looks like its crashed!
     
  3. Sergey Kravchenko

    Sergey Kravchenko Active Member Licensed User

    I know, but How it to make? Write a fragment of a code.
    Thank's
     
  4. Cableguy

    Cableguy Expert Licensed User

    Like his:

    Code:
    .......
    x1=(v(c,
    0)*x)+(v(c,1)*y)+v(c,4)
       y1=(v(c,
    2)*x)+(v(c,3)*y)+v(c,5)
       x=x1
       y=y1
       Fractal.Line(x*
    23+100,235-y*23,x*23+100+1,235-y*23+1,cGreen)
       [COLOR=
    "DarkOrange"]DoEvents[/COLOR]
       
    Next
    End Sub
    Even in the desktop, the doevents statement makes the app run in a more espectacular way...

    But if used in a later version (6.0) of basic4ppc, I get an undeclared array error...
    can't figure out why...
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Very nice!

    @Cableguy, are you using the latest version - 6.30? It should work properly.
     
  6. Cableguy

    Cableguy Expert Licensed User

    @Erel, yes I am at home, but im my workstation, at work I have a shareware version of v6.0...
    wich gave me the error...
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    This program includes the new Array keyword. It will not work on previous versions.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice