"for and while" in Bro language

Vern Paxson vern at icir.org
Sun Jul 13 12:03:01 PDT 2003

>    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).


More information about the Bro mailing list