Newbie to VB: to what degree is VB event driven



Hi folks

I was reading a book about programming C++ and this book had an
example code of creating a user menu with the help of a "switch"
statement inside a 'forever loop' (a "for" loop that only exists if
the user chooses a specific option from the menu).

This brought to mind a question about VB being referred to as an
"event driven" language.

The question is, does the "event driven" nature of VB eliminate the
need of loops that wait for user input? In other words, is the "normal
state" of VB code to "do nothing" until user selects a menu option or
clicks a button?

thanks in adv,

JJ

.


Loading