"for and while" in Bro language

   Does Bro have the loop language of "for" or "while"
   (like the for and while in C++ language)?

It has a for statement that loops over the elements of a set or a table.
It doesn't have a loop-while-condition-holds construct. If you find you
need one, I'd be interested to hear the partiuclars of what you want to
use it for, as I've been trying to avoid adding a general for/while
construct (so far, I'm not convinced its uses can't be better served with
other language constructs).