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 Mike Lewis 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: *

  1. jumpunderaboat

    Basic if statement/do loop query!

    thanks, thats awesome - i didnt think of using a do while statement. one problem though, if have a value like -3.5 this becomes -0.35 or so. when it really ought to be around +2.8. Imagine a circle around a point and I'm taking the lower vertical radius to equal 0. Therefore giving the...
  2. jumpunderaboat

    Basic if statement/do loop query!

    I've made a program which outputs certain numerical data, angles in radians. However sometimes, my output has values like 7 and 8, which should really be 0.72 and 1.72(or -1.42). So I'm guessing I need an if statement along the lines of: if a>pi then a=a-pi else print *, a end if ...But...

Part and Inventory Search

Back
Top