• qbguy (unregistered)

    Private Function GetLetter(ByVal Index As Integer) As String Select Case Index Case 0 Return "a" Case 1 Return "b" 'SNIP: ... all the way to "Z" End Select End Function

    Non-WTF version 1:

    Private Function GetLetter(ByVal Index As Integer) As String Return MID$("abcdefghijklmnopqrstuvwxyz", Index, 1) End Function

    Non-WTF version 2 (depends on ASCII): Private Function GetLetter(ByVal Index As Integer) As String Return CHR$(64+Index) End Function

    (The only BASIC I know is QBASIC, so I may have gotten the VB syntax wrong)

Leave a comment on “Vari-Post 2000”

Log In or post as a guest

Replying to comment #:

« Return to Article