1
Domande tecniche / Dichiarazione dopo altre istruzioni
« il: 02 Febbraio 2013, 20:37:04 »
Salve a tutti!
Premetto che sono un neofita ma vorrei sapere come faccio a dichiarare un array dopo aver giĆ dato altre istruzioni, in quanto mi da il messaggio d'errore "Unexpected Dim", ecco il mio codice:
Dim frase As String
Dim lunghezza As Integer
frase = TextBox1.Text
lunghezza = Len(frase)
Dim a As New Char[lunghezza]
come faccio?
Premetto che sono un neofita ma vorrei sapere come faccio a dichiarare un array dopo aver giĆ dato altre istruzioni, in quanto mi da il messaggio d'errore "Unexpected Dim", ecco il mio codice:
Dim frase As String
Dim lunghezza As Integer
frase = TextBox1.Text
lunghezza = Len(frase)
Dim a As New Char[lunghezza]
come faccio?