P
Paul Johnston
I'm using VB.Net. I've tried using Console.Read() but it requires a
line-terminator before it finishes (doesn't that mean it's functionally
equivalent to ReadLine() -- why have it then?). I've tried
Console.In.ReadBlock(), too, with no success.
So, along these lines, how would I implement, simply, a "Press Any Key to
Continue" routine or, more complex, a text menu in a Console app to get a
single character?
i.e.
1. Declare your hate for VB.Net
2. Declare your love for VB.Net
X. No Comment
Enter Your Choice [1,2,X]:
Thanks, folks.
line-terminator before it finishes (doesn't that mean it's functionally
equivalent to ReadLine() -- why have it then?). I've tried
Console.In.ReadBlock(), too, with no success.
So, along these lines, how would I implement, simply, a "Press Any Key to
Continue" routine or, more complex, a text menu in a Console app to get a
single character?
i.e.
1. Declare your hate for VB.Net
2. Declare your love for VB.Net
X. No Comment
Enter Your Choice [1,2,X]:
Thanks, folks.