Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Fractal

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-09-2008, 05:14 AM
SeregaKr's Avatar
Knows the basics
 
Join Date: Feb 2008
Posts: 72
Awards Showcase
Beta Tester Beta Tester 
Total Awards: 2
Default Fractal

Fractal
Attached Images
File Type: jpg fractal.jpg (14.6 KB, 59 views)
Attached Files
File Type: sbp Fractal.sbp (856 Bytes, 104 views)
Reply With Quote
  #2 (permalink)  
Old 06-09-2008, 10:50 AM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 366
Awards Showcase
Beta Tester 
Total Awards: 1
Default 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!
Reply With Quote
  #3 (permalink)  
Old 06-09-2008, 12:11 PM
SeregaKr's Avatar
Knows the basics
 
Join Date: Feb 2008
Posts: 72
Awards Showcase
Beta Tester Beta Tester 
Total Awards: 2
Default

Quote:
Originally Posted by colin9876 View Post
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!
I know, but How it to make? Write a fragment of a code.
Thank's
Reply With Quote
  #4 (permalink)  
Old 06-09-2008, 06:52 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

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)
    <font color=
"DarkOrange">DoEvents</font>
    
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...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #5 (permalink)  
Old 06-09-2008, 07:34 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Very nice!

@Cableguy, are you using the latest version - 6.30? It should work properly.
Reply With Quote
  #6 (permalink)  
Old 06-09-2008, 07:38 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

@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...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #7 (permalink)  
Old 06-09-2008, 07:41 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

This program includes the new Array keyword. It will not work on previous versions.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT. The time now is 11:57 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0