I am trying to write a try-catch loop that will only fail on more than five attempts. how can i go about that?
So far, I have: try
%command to execute
command to execute if error
how can i make this a loop that will only fail after five attempt at maximum?
any help would be appreciated,