
Untitled
By: a guest on
May 2nd, 2012 | syntax:
None | size: 1.28 KB | hits: 15 | expires: Never
Dim Stations(0 To 5) As String
Dim I As Integer
Dim Songs(0 To 5, 0 To 3) As String
Private Sub Form_Load()
Stations(0) = "Radio One"
Stations(1) = "Capital"
Stations(2) = "Radio Two"
Stations(3) = "Tower FM"
Stations(4) = "DubTrust Grove"
Stations(5) = "Metal"
Songs(0, 0) = "Baa Baa Black Sheep Artist JavaJingle"
Songs(0, 1) = "Stairway to Heaven Artist Lead Balloon"
Songs(0, 2) = "Teletubbies Artist CBBC"
Songs(0, 3) = "Chocolate Death Artist The Cadbury Boys"
Songs(1, 0) = "Rolling in the Deep Artist Adele"
Songs(1, 1) = "Another one Artist BooBoo"
Songs(1, 2) = "a"
Songs(1, 3) = "b"
Songs(2, 0) = "c"
Songs(2, 1) = "d"
Songs(2, 2) = "e"
Songs(2, 3) = "f"
Songs(3, 0) = "g"
Songs(3, 1) = "h"
Songs(3, 2) = "i"
Songs(3, 3) = "j"
Songs(4, 0) = "c"
Songs(4, 1) = "d"
Songs(4, 2) = "e"
Songs(4, 3) = "f"
Songs(5, 0) = "g"
Songs(5, 1) = "h"
Songs(5, 2) = "i"
Songs(5, 3) = "j"
labelnick.Caption = Stations(0)
End Sub
Private Sub nextcmd_Click()
I = I + 1
If I < 6 Then
labelnick.Caption = Stations(I)
Else
I = 5
labelnick.Caption = Stations(5)
End If
End Sub
Private Sub precmd_Click()
I = I - 1
If I > -1 Then
labelnick.Caption = Stations(I)
Else
I = 0
labelnick.Caption = Stations(0)
End If
End Sub