I have this simple while loop. I'd like to make it break the loop when the conditional variable is changed. Instead, it's finishing the loop and only then breaking it.
a = true
while( a == true )
do
center_general_medium:highlight(1)
center_general_small:highlight(1)
center_general_tiny:highlight(1)
a = false << ------------------- should break loop here if, for some reason, "a" value is changed.
center_general_medium:highlight(1)
center_general_small:highlight(1)
center_general_tiny:highlight(1)
end