GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2011-Nov-29

Title: Hi I don´t kwno if all perople know this simple, but effective trick
Post by: mentalthink on 2011-Nov-29
HI I don´t know if all yours knows this simple trick, but very usefull, always the code line it´s too long.

The trik it´s in the '_' symbol, if you place when you want , you can continue whit the comment of the above line.

PRINT "jasa", _
10,10

SHOWSCREEN
MOUSEWAIT

PS: In the example of mem2sprite appears and MRTatoad has used in some of her examples in the forum, but I never look nothing cooment, it´s I how I sayed, in very long lines, like SPRCOLL, can be very easy to read the code lines.
Title: Re: Hi I don´t kwno if all perople know this simple, but effective trick
Post by: Wampus on 2011-Nov-29
Hah, I didn't know that. Useful to know.
Title: Re: Hi I don´t kwno if all perople know this simple, but effective trick
Post by: Ruidesco on 2011-Nov-29
Yup, some examples in the help (such as the one for MEM2SPRITE) make use of it but I've never seen it specifically stated anywhere.
Title: Re: Hi I don´t kwno if all perople know this simple, but effective trick
Post by: erico on 2011-Nov-29
this will help me soo muuch thanks!
Title: Re: Hi I don´t kwno if all perople know this simple, but effective trick
Post by: doimus on 2011-Nov-29
Cool one! Wasn't aware of it at all.
Title: Re: Hi I don´t kwno if all perople know this simple, but effective trick
Post by: spicypixel on 2011-Nov-30
Handy :)
Title: Re: Hi I don´t kwno if all perople know this simple, but effective trick
Post by: pinete on 2011-Nov-30
 :enc:
Title: Re: Hi I don´t kwno if all perople know this simple, but effective trick
Post by: Crivens on 2011-Nov-30
Yeah I noticed that when I first got GLB as I had pretty much moved directly from VB. I don't normally use it though so totally forgot about it...

Cheers