Dim numi1 As Double
Dim numi2 As Double
Dim grande As Double
Dim tempo As Double
Dim long1 As Double
Dim long2 As Double
Dim vari As Double
Dim inic As Double
Dim podi As Double
Dim nami As Double
Dim namie As Double
Dim num1pos As Integer
Dim num2pos As Integer
' *acabo de cambiarlos a integer*
Private Sub Command2_Click()
long1 = Len(num1)
long2 = Len(num2)
tempo = 0
inic = 0
If long1 < long2 Then
grande = long2
Else
grande = long1
End If
'necesito saber cual de los dos numeros tiene mayor longitud para agregar 0 en
'los ligares que esta nulo
podi = grande
'empieza for for (variable) = (inicio) to (final //si no se usar el for en visual lo
'copie de una web
For inic = inic To grande
nami = num1.Text
namie = num2.Text
num1pos = (Mid(nami, podi, 1))
num2pos = (Mid(namie, podi, 1))
' comienza la suma binaria
'aqui va una serie de ifs que no quise poner para que no se burlaran XD es de lo mas simple por eso ocupo tantas variables