Re: Newbie to VB: to what degree is VB event driven [follow up questions]



thanks all for your responses.

I understand that the system is not fully dormant while it is waiting
for user input, that's why I wrote "do nothing" in quotes. The C++
example I was talking about was in fact a standalone app in a
nonwindowed environment. The "menu" is just a listing of options
displayed in a command window. I did not mention this because I only
used it as an explanation on what had lead to my question.

But I wanted to ask a couple follow up questions. These are strictly
speaking not VB questions so apologies for that:
A. is it so that (regardless of programming language) the Windows
environment is what provides a way to eliminate loops to wait for user
input?
B. in what kind of situations would a loop be required for waiting for
user input?

thanks again

P.S. as you may also notice, some of my programming experience is from
ancient systems:-)

.



Relevant Pages

  • Re: need some help with threading module...
    ... it runs under Linux but not under windows 0_o ??! ... ## and a controller that will try to yield data from the subject. ...
    (comp.lang.python)
  • Re: Sangband spontaneous exits
    ... waiting for user input. ... It's probably the loop that waits for a key at the reader's prompt ... I have never observed this "spontaneous clean exit" ...
    (rec.games.roguelike.angband)
  • Re: need some help with threading module...
    ... i don't have the result i excpect. ...
    (comp.lang.python)
  • Re: basic i/o question
    ... >waiting for user input? ... 'Fraid it is. ... There aint a whole heck of a lot that Standard C or C++ let ... you do while waiting for input...except keep waiting. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Opening CHM files over network
    ... | That's exactly what I did per the KB instructions, startup script still hangs ... When I run the batch file in the UI, ... | executes great, no problems, no waiting for user input. ...
    (microsoft.public.windowsxp.security_admin)