I created a script where within this script there is a loop of type while
. The condition of this while
is escolha != 1
. Everything works ok, but in the middle of this while
I run a Java application where I make some checks and depending on that check I need to change the value of this variable to 1 to be able to exit the loop. Is there any way to do this? I've tried it this way: