>    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

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to