[Gambas-user] Line Continuation Symbol

johnf jfabiani at ...1109...
Thu Feb 16 16:55:17 CET 2006


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




More information about the User mailing list