Sounds like you've got a very straightforward algorithm laid out there. It is difficult to be both "greater" and "equal" at the same time, but I presume you meant to say "or".
You may have also noticed how repetitive it is, and that it can be reworded as a for loop, using N, and (N+1)%$numTidePoints
In reply to Re^5: Display tide based on time now.
by Anonymous Monk
in thread Display tide based on time now.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |