![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Pasting a current job from V580 to V6 i found a new infinite loop.
Searching a solution i found two different results in nested FOR-NEXT loop execution. Between Debug mode or normal compilation and, the Optimised compilation. This last forbids (or dont take care, the same thing) to modify a for-next-loop variable inside the loop ! That is new, its more strong severity than Ada. Would you see the next script : '--------------------------------------- 'listbox1 declared Sub test For n =1 To 6 For p = 1 To 5 listbox1.Add("____n=" & n & " p=" & p) If p = 2 Then : p=4 : listbox1.Add(" p=2 change_to p=4 ") : End If If n = p Then : listbox1.Add(n & " [n = p decide_to EXIT_n]") : Exit : End If Next Next End Sub '----------------------------------------- And the joint result files. So, as you want, but it could be great that the help inside b4ppc be update with the release and the DEBUG run same as the Super fast & Extra-compacted-code Optimised_Compiler.... thanks for help. |
![]() |
| 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 |
| Stop Execution of source on PDA | badkarma | Basic4ppc Wishlist | 4 | 04-28-2008 03:00 AM |
| cTicksPerDay: optimised compilation error with timer | LineCutter | Bug Reports | 2 | 04-21-2008 06:15 PM |
| possible to give values to arrays in Sub Globals? | Stellaferox | Questions & Help Needed | 2 | 02-17-2008 12:10 PM |
| Pause the execution of a program? | HARRY | Questions & Help Needed | 3 | 12-19-2007 02:57 PM |
| Give me an idea | conf | Questions & Help Needed | 6 | 07-03-2007 06:18 PM |