Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/12/2009, 12:01
Avatar de David
David
Moderador
 
Fecha de Ingreso: abril-2005
Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años, 1 mes
Puntos: 839
Respuesta: DUDA SOBRE UTILIZAR OPTION EXPLICIT JUNTO CON DefInt

Es que con Def* no declaras ninguna variable. Sólo estás indicando de qué tipo serán las variables que no tengan un tipo explícito. Por ejemplo:
Código vb:
Ver original
  1. Option Explicit
  2. DefInt A-K
  3. DefStr L-Z
  4.  
  5. Private Sub Form_Load()
  6.     Dim A
  7.     Dim L
  8.     MsgBox TypeName(A)
  9.     MsgBox TypeName(L)
  10. End Sub
__________________
Por favor, antes de preguntar, revisa la Guía para realizar preguntas.