[Gambas-user] break long lines
Benoît Minisini
gambas at ...1...
Mon Jul 20 20:49:39 CEST 2009
> For String assignments you can put an & at the end of it...
>
> String = "ABCD " &
> "1234"
>
> Steve.
>
> Jean-Yves F. Barbier wrote:
> > Hi,
> >
> > Is there a special character (such as \ under bash) to break a very long
> > line?
> >
> > JY
There are two ways of spanning a long line on several ones:
- Once a binary operator is read, its second operand can start on another
line.
This is Jean-Yves' example.
- A string can be written in several parts with new lines between.
String = "This " "is " "actually "
"only " "one " "string " "in " "the " "compiled " "code!"
Regards,
--
Benoît
More information about the User
mailing list