GLBasic line continuation?

Previous topic - Next topic

Eric.Erpelding

Hello GLBasic forum members.
I have a question concerning long statements in GLBasic.
Does GLBasic have a way to continue a statement on another line?
One version of BASIC uses the underscore character, "_", at the end of a line to indicate that the statement continues on the next line of code.
Is there something similar in GLBasic?

kanonet

Yes, "_" does work in GLBasic too.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Slydog

QuoteOne version of BASIC uses the underscore character, "_"

Come on, you can say it - it's VB6!  =D

Ha, I loved that language, despite its reputation.
Actually have it open at work right now fixing a bug in an older project of mine!
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

Eric.Erpelding

Thank you.

VB6 is a very good language.
I have read that it still works on computers running Windows 10.

adaz

Quote from: kanonet on 2016-Jul-15
Yes, "_" does work in GLBasic too.

It doesn't work for me :( IDE 15.089

Qedo

_ Work perfectly in IDE 15.089
ciao
Qedo

adaz

It says syntax error.

MrPlow

Hit [SPACE] then _ then [ENTER]
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

adaz

My mistake... I concatenated 5 lines, and in the 5th line there was a syntax error, but the Editor located the cursor to the first line, and I (of course) did not find any errors in that line.
So it works, thanks.