[Gambas-user] Line Continuation Symbol

Benoit Minisini gambas at ...1...
Sun Feb 19 17:29:41 CET 2006


On Thursday 16 February 2006 16:55, johnf wrote:
> On Thursday 16 February 2006 02:37, Benoit Minisini wrote:
> > The rule is the following: if an operator cannot find its right operand
> > on the current line, it automatically jumps to the next line
>
> What if the left hand operand is very long and the programmer would like to
> break it up on multi-lines?  Actually, what is happening to me is I would
> like to have some formating to allow easy reading.
>
> IF Object.Class(tabControl) <> "TableView" AND Object.Class(tabControl) <>
> "ToolButton" AND Object.Class(tabControl) <> "TextLabel" AND
> Object.Class(tabControl) <> "GridView" AND Object.Class(tabControl) <>
> "Separator" THEN
>
> The above is one line.
>
> And I would like:
> IF Object.Class(tabControl) <> "TableView" AND
> Object.Class(tabControl) <> "ToolButton" AND
> Object.Class(tabControl) <> "TextLabel" AND
> Object.Class(tabControl) <> "GridView" AND
> Object.Class(tabControl) <> "Separator" THEN
> John
>

This syntax works, try it :-)

-- 
Benoit Minisini





More information about the User mailing list