Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: IF statements
05-29-2007, 04:39 PM #1
- Join Date
- Apr 2007
- Thanked 0 Times in 0 Posts
I have a grid, and using a Fortran IF statement, I want to trigger a series of commands if the variable 'result' is within the grid cell 'square1'. I am able to achieve this using an IF statement for if a value is equal to, less or greater than a given number for example, but how would I create a statement to trigger the rest of the code if 'result' is simply present within the cell?
Many thanks for any suggestions,