[Gambas-user] [CRASH REPORT] CherchMail
T Lee Davidson
t.lee.davidson at gmail.com
Sun Mar 12 04:35:19 CET 2023
On 3/11/23 14:10, Philippe Valarcher wrote:
> Dim Ligne As Integer, n As Integer, Emails As Integer
> Dim newLast As String, phrase1 As String, phrase2 As String, monText As String
Just FYI, you don't need all those "As" statements in the variable declarations. You can simply do:
Dim Ligne, n, Emails As Integer
Dim newLast, phrase1, phrase2, monText As String
You can even assign an initial value to all those on the same line, eg."
Dim Ligne, n, Emails As Integer = 1
Dim newLast, phrase1, phrase2, monText As String = "hello"
--
Lee
More information about the User
mailing list