Dim rnd As New Random
Dim quote1, quote2, quote3 As String
Dim int As Integer
int = rnd.Next(1, 3)
quote1 = "never give up"
quote2 = "always believe in yourself"
quote3 = "always follow your dreams"
MessageBox.Show("quote" & int)
Hey, can somebody please tell me, how I can assign the int to the word quote, so every time it would pick a different quote?
Aucun commentaire:
Enregistrer un commentaire