[Gambas-user] Complete an IF inside the IDE
Mayost Sharon
sharon at 455.co.il
Fri Jun 28 13:53:28 CEST 2019
I'm sorry
Maybe because I do not know English well it's hard to understand me
And I use Google translation which is not accurate
If you paste the code as it is with the space
Then go to the end of the line: If sString Then
And press the ENTER key
The IDE completes another ENDIF
---------- Original Message -----------
From: T Lee Davidson <t.lee.davidson at gmail.com>
To: user at lists.gambas-basic.org
Sent: Thu, 27 Jun 2019 21:28:34 -0400
Subject: Re: [Gambas-user] Complete an IF inside the IDE
> I'm not sure what you are saying. I was following you until, "Even though
> there is ENDIF at the end"
>
> There is only one ENDIF in that code, and it matches the single IF. The
> whitespace before the IF is irrelevant.
>
> ___
> Lee
>
> On 6/27/19 5:43 PM, Mayost Sharon wrote:
> > hello
> >
> > When I write code:
> >
> > Public Sub Main()
> > Dim sString As String
> > If sString Then
> > Else
> > Endif
> > End
> >
> > Note that there is a space before the IF
> >
> > When I go to the end of the line of the IF and press the Inter key
> > It completes my ENDIF
> > Even though there is ENDIF at the end
> >
> > Is it okay?
> >
> > Thank you
> >
> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> >
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
------- End of Original Message -------
More information about the User
mailing list