[Gambas-user] Using multiple lines AND Dialog class

Tom mrzanderson at ...626...
Mon Apr 25 02:09:41 CEST 2005


On Saturday 23 April 2005 01:41 pm, Rob wrote:
> On Saturday 23 April 2005 16:53, Thomas McGannon wrote:
> > Also i kno that in visual basic you could put a _ at the end of the
> > line and continue writing on the next line and it would accept it
> > as the same line. Is there a similar way of doing this in gambas?
>
> If you're doing string concatenation, you don't even need an
> underscore, you can just leave a hanging "&" and continue with
> another string on the next line.  Otherwise, as far as I know, you do
> have to put it all on one line.
>

The string concatenation could be helpful to know, but what i was trying to do 
was have the signiture of a class on multiple lines if they are long, or IF 
states which have a few statements...

It would be good to have this feature as it keeps the code all nice and clean.

Thanks anyway though!
-Tom




More information about the User mailing list