[mono-vb] select case on java2s.com program
Jude DaShiell
jdashiel at shellworld.net
Tue Jun 30 04:35:35 EDT 2009
That program works correctly under vbnc. Furthermore specifying a single
one letter string value for case statements also works. So I think the
problem is with Console.Read() and Console.ReadKey(). Interestingly I
tried some conversion code on input values from those functions and had no
luck with the conversions. Next I'll have to see if the string$()
function exists for those conversion attempts. Could be that one solves
my problem. If this was just a situation of menu selection in one place in
the program it would be trivial to just use numbers. However in another
place I'm building two strings of values like "h" and "t" in very specific
triplet sequences and then testing for them to select table subscripts.
That's why I want to get this working correctly.
More information about the Mono-vb
mailing list