Re: naugty problem with for next in grid calculations
Posted: Mon Feb 28, 2022 1:54 pm
hi Infratec, long time no see. good to see you again.
Thanks for your replay.
I did in the early days a lot of assembler programming.
I do know what you mean, but in that days gwbasic and quickbasic did not have that problem.
My problem is: for i = a to b step c does not work if c is an integer.
for i = a to b step 5 does work okay.
So i can not calculate the value of c , and that looks strange.
Or is there a way to change an integer into a number in purebasic?
Wim
Thanks for your replay.
I did in the early days a lot of assembler programming.
I do know what you mean, but in that days gwbasic and quickbasic did not have that problem.
My problem is: for i = a to b step c does not work if c is an integer.
for i = a to b step 5 does work okay.
So i can not calculate the value of c , and that looks strange.
Or is there a way to change an integer into a number in purebasic?
Wim