[Implemented] Continue Character?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Steve Elliott
Enthusiast
Enthusiast
Posts: 109
Joined: Sun Jan 01, 2006 9:34 pm
Location: Wales, UK

[Implemented] Continue Character?

Post by Steve Elliott »

I know it's BASIC - but it's a BASIC Compiler, so is there a continue character that lets the compiler know you wish to split a long line in two? If not I'd like that feature added.

I know you can use a colon to add another statement on a single line - but you can't do this in the middle of an IF statement. And things get untidy when reading - and especially when printing, because on a decent screen resolution the whole line can be seen on the same line - the paper print is too narrow.

Just makes your code tidier and so bugs easier to spot.
Last edited by Steve Elliott on Wed Jan 25, 2006 11:25 pm, edited 3 times in total.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

well, it's a recurring request :-)

dunno if we get it, fred said he wasn't too impressed with the idea, yet somewhere else he mentioned it could come...

i've hadcked up a little tool called codecaddy that does this for you, but it's, well, something *i* wrote which doesn't bode very well :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Steve Elliott
Enthusiast
Enthusiast
Posts: 109
Joined: Sun Jan 01, 2006 9:34 pm
Location: Wales, UK

Post by Steve Elliott »

well, it's a recurring request
Well anybody that thinks it's a good idea please put your name to this thread.

:D
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Get's my vote.
I may look like a mule, but I'm not a complete ass.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

signs.
@}--`--,-- A rose by any other name ..
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

All for it -unless it slows the beta release down :twisted:
BERESHEIT
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Continue Character?

Post by PB »

> is there a continue character that lets the compiler know you wish to split a
> long line in two? If not I'd like that feature added.

Don't forget to search these forums -- this topic has been discussed countless
times... here's one of the most discussed threads:

viewtopic.php?p=121298

Topic locked. Please continue the discussion at the link above.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Locked