eduardolegh

Untitled

Jul 26th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dim numeros(10) As Integer
  2. Dim x as Integer
  3. Private Sub Command1_Click()
  4. If Text1 = "" Then
  5.     MsgBox "Debe ingresar datos, de lo contrario no podrá continuar"
  6. End If
  7. If x<10
  8.  
  9. numeros(x) = CInt(Text1.text)
  10. MsgBox "Agrego valor"
  11.  
  12. x= x+1
  13. else
  14. MsgBox "No se pueden agregar mas valores"
  15.  
  16. End If
  17.  
  18.  
  19. End Sub
Advertisement
Add Comment
Please, Sign In to add comment