Hey guys,

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,
smurray444