[mono-vb] select case problem

Jude DaShiell jdashiel at shellworld.net
Mon Jun 29 20:27:31 EDT 2009


There doesn't appear to be any ascii() function at least not in Imports 
System.  Unless visualbasic came up with a different name for that 
function and it's in vbnc now, there may be no built-in way to convert a 
chr() or code() to ascii().
Select Case Executed
Case "A" To "L"
Console.WriteLine("executed A to L")
Case "M" to "Z"
Console.WriteLine("Executed M to Z")
Case Else
Console.WriteLine("Executed Else")
End Select
Something similar is up on java2s.com.  I'm going to try this specific 
code to see if I can get it to work as intended.




More information about the Mono-vb mailing list