Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: rogr
  • Order by date
  1. rogr

    Annoying Variable

    I tried the double and it just doubled the problem..with more decimal places to screw up. I have now updated my loop to: cubicx = -9.999999 DO IF (cubica * cubicx ^ 3) + (cubicb * cubicx ^ 2) + (cubicc * cubicx) + cubicd = 0 THEN...
  2. rogr

    Annoying Variable

    yeah, i cud use the >= to stop it, but i want to test the values at step 0.01, so even tho it wud actually stop, the program wud test the wrong values! cheers anyway.....i'll try the Double thing!
  3. rogr

    Annoying Variable

    I've written a program in qbasic and it all works apart from one part...I have given a variable the value -100, and at the end of the loop that follows I am adding .01 to the variable, I want the loop to stop when the variable's value reaches 100.01, simple enough but as the program runs the...

Part and Inventory Search

Back
Top