[Gambas-user] Continuation Lines
Bruce
adamnt42 at gmail.com
Sat Jun 6 11:24:44 CEST 2020
On 6/6/20 5:58 pm, John Rose wrote:
> If I remember correctly there used to be a way in VB of continuing long
> lines of code (e.g. a long IF command with a few ANDs, thus saving
> having to do a nested IF). I have a feeling that it was done by use of
> the _ character at the end of a line. Though my memory could be failing
> me and perhaps it's in B4A (Basic4android). Is there a way of doing this
> in Gambas coding?
>
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
The IDE has an "Automatic Word Wrap" option that goes a long way to
alleviating this need.
Also Strings can be split over lines.
Can't remember trying to split IF a AND b, maybe this is a good idea.
(If it already doesn't work)
I do see your point, working with a lot of SQL queries I do appreciate
SQL editors that let you format the boolean clauses in a way that makes
it easier to groke the logic.
That's about all the help I can offer here.
b
More information about the User
mailing list