Code: Select all
If hpr < .975
My wish-list item: make PB accept the above line of code.
Code: Select all
If hpr < .975
.975 is nothing, so why would it compile.chris319 wrote:This is totally lame:
Someone give me a valid reason why that line of code should generate a syntax error.Code: Select all
If hpr < .975
My wish-list item: make PB accept the above line of code.
Code: Select all
If hpr < 0.975
Did you learn in school any other programming language besides PB? Name three other computer languages or widely-used implementations of BASIC which will not accept that line of code. ScriptBasic used to require it until I convinced Peter of the stupidity of it.Did you learn in school you could leave the 0 away?
I know you don't mean to speak for Fred and how he should use his time, but yeah, he could use the few minutes it would take to fix it for something else.If Fred must add all these "nonsens" he will have never time for the real thnigs that must be added/fixed!
He's from the USA. (Now that explains everything... )Berikco wrote:
Did you learn in school you could leave the 0 away?
Code: Select all
You should not be so lazy and just write 0.975
It is just as mindless.This has absolutely nothing to do with the constant in a for next loop.