I have a notebook with many cells, one of which contains an evaluation of some condition. If it is False, I want to have an automatized way of the "Abort evaluation" button. However, I have not found such a realization.
For instance, Abort[] does not work (even for the same cell). Say, consider two cells, one
Abort[]
fff = y
and another one
ggg=z
Let us evaluate the two (the one with Abort[] first). It turns out that everything below Abort[] is still evaluated.
Is there any way to code the analog of "Abort evaluation"?