Active Forums => QB64 Discussion => Topic started by: TempodiBasic on November 05, 2021, 11:16:55 pm
Title: [fixed]A my first Debug session on FOR NEXT issue
Post by: TempodiBasic on November 05, 2021, 11:16:55 pm
Hi QB64 Community Hi Qb64 developers Team
just to keep in live my toon character I share with you this my experience got during Recursive session! I fall on a simple FOR NEXT STEP loop! Yes the easiest loop that we have to work repeating a block of instructions.
enviroment: On Windows 8.1 Pro 64 bit, a HP notebook machine with Celeron 2.0 GHz and using QB64 2.0.1
the goal of the code: change the STEP value of FOR NEXT loop to change the results of looping
the result of the code: changing at some point of the loop the Stepper variable the FOR loop goes on with no change of output results.
here screenshots [ This attachment cannot be displayed inline in 'Print Page' view ] [ This attachment cannot be displayed inline in 'Print Page' view ] [ This attachment cannot be displayed inline in 'Print Page' view ] [ This attachment cannot be displayed inline in 'Print Page' view ]
who can test this issue? Feedbacks ?
Title: Re: A my first Debug session on FOR NEXT issue
Post by: bplus on November 06, 2021, 12:39:59 am
Title: Re: A my first Debug session on FOR NEXT issue
Post by: TempodiBasic on November 07, 2021, 04:32:16 am
Hi boys so LOL I was in trance when I have written this post , last night! my mind (memory) said me that StepValue can be changed into FOR loop, so I have spent a good part of time to be sure that the code was breaking this rule and then I have made my reportage screenshots. If I had had less believeing in memory, going on this wikipage https://www.qb64.org/wiki/FOR...NEXT (https://www.qb64.org/wiki/FOR...NEXT)I have had got the truth quickly!
Well, let's see what I got back of positive from this experience: 1. QB64 community is fantastic, I got feedback from to friends to enlight my obscure state of my mind thanks to Bplus for debugging, and thanks to Petr for show me the solution to get the goal. 2. QB64 wikipage of FOR is very explicative 3. I must follow the mom's advice to go sleep when it is at some time 4. The Debug mode works properly and it is fine, moreover its layout is very simple and good.