COMILLAS ?
Publicado por Mariano (1 intervención) el 02/02/2008 04:41:42
HOLA, SOY NUEVO EN VB... Y TENGO UNA PREGUNTA, POR EJEMPLO:
¿Cuando se usa Las comillas dobles y cuando No en vb? ej: Nombre= "Fernado", Nombre= "Jose" .
Muchas gracias !!!!
Dim Clase as Intiger
Dim Nombre as Srting
Clase= TextBox1.Text
Nombre = TextBox2.Text
If Clase = 1 Then
Nombre = "Fernando"
TextBox2.Text = Nombre
Else
If Clase = 2 Then
Nombre= "Jose"
TextBox2.Text = Nombre
Else
End If
End If
¿Cuando se usa Las comillas dobles y cuando No en vb? ej: Nombre= "Fernado", Nombre= "Jose" .
Muchas gracias !!!!
Dim Clase as Intiger
Dim Nombre as Srting
Clase= TextBox1.Text
Nombre = TextBox2.Text
If Clase = 1 Then
Nombre = "Fernando"
TextBox2.Text = Nombre
Else
If Clase = 2 Then
Nombre= "Jose"
TextBox2.Text = Nombre
Else
End If
End If
Valora esta pregunta


0