Hi,
If I am not mistaken, Java does not provide [like other languages] statements like: "go to" and "resume".
However, the need to re-execute parts of the code, based on conclusions derived some time later exists.
Here is the question: how can this be achieved in Java/efs?
Specific example:
I am using several time intervals in one efs and I apply a number of functions/calculation to each one of them, starting from the lowest interval up.
Sometimes, when analyzing a higher interval, I discovered that I should have set a condition/state in a lower and I have no clue how to go back and re-execute that cycle and either [a] come back and continue, or [b] let it run the entire sequence again.
I assume it is a common need and someone has a solution.
Any help would be greatly appreciated.
Thank you.
If I am not mistaken, Java does not provide [like other languages] statements like: "go to" and "resume".
However, the need to re-execute parts of the code, based on conclusions derived some time later exists.
Here is the question: how can this be achieved in Java/efs?
Specific example:
I am using several time intervals in one efs and I apply a number of functions/calculation to each one of them, starting from the lowest interval up.
Sometimes, when analyzing a higher interval, I discovered that I should have set a condition/state in a lower and I have no clue how to go back and re-execute that cycle and either [a] come back and continue, or [b] let it run the entire sequence again.
I assume it is a common need and someone has a solution.
Any help would be greatly appreciated.
Thank you.
Comment