apparte utilizzare il tag per scrivere il codice...![]()
...e specificare la versione di VB che si utilizza?
esiste la parolina magica OPTIONAL:
codice:Public Sub Message(text As String, title As String, _ other As Integer, Optional perGioc As String) If perGioc = Null Then perGioc = GiocatoreCorrente If NumeroGiocatori <> 1 Then MsgBox CStr(perGioc) & "-" & text, other, _ title & Ordine(oldGiocatore) 'Ordine(GiocatoreCorrente) Else MsgBox text, other, title & NomeGiocatore1 End If End Sub