Hi all...
I am using a for loop for another part of AudioScope...
Consider this code:-
This works perfectly except I am not sure if breaking out of a 'for' loop might cause problems further down the line if it doesn't reach its termination correctly.
Should a 'while' loop be used instead?
TIA...
I am using a for loop for another part of AudioScope...
Consider this code:-
Code:
for n in {0..100}
do
if [ "${condition[$n]}" = "another_string" ]
then
break
fi
done
Should a 'while' loop be used instead?
TIA...