![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Open Source Projects The place to discuss Basic4ppc open source applications. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Beautiful app. Did you consider sending it to Ghale here:
I need you application on my freeware website.
__________________
Basic4ppc help and documentation |
|
||||
|
That's cool. Anyway, it's a good one.
__________________
Basic4ppc help and documentation |
|
|||
|
There's just something about your loops...
![]() Take the DeleteOld program. You are forcing an endless loop; then evaluating a condition and breaking out of the loop when false. Well thats exactly what 'Do While <condition is true>' .... 'Loop' does itself. Try this for your DeleteOld.exe Code:
Sub App_Start
Sleep (1000)
Do While FileExist("Image" & current & ".jpg")
FileDel("Image" & current & ".jpg")
current = current + 1
Loop
End Sub
|
|
||||
|
Thanks for noticing Zenerdiode. I don't thing a Do While loop will make the application much faster though. I've corrected it, but I'm not going to update the files
__________________
Codito, ergo sum "I code, therefore I am" |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ozi Files Viewer | BerndB | Share Your Creations | 1 | 01-08-2009 07:43 PM |
| SQLite Viewer | Erel | Open Source Projects | 5 | 11-15-2008 07:12 AM |
| Stock Quotes Viewer | Alex812 | Share Your Creations | 2 | 11-17-2007 08:32 AM |
| Text/Pic Viewer | scott93727 | Share Your Creations | 0 | 05-02-2007 05:28 AM |