muilt line commenting

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

muilt line commenting

Post by Dreglor »

muit line commenting is my joy that is missing from purebasic
it not really anything "useful" but it is easyer to right long comments that way
:)
~Dreglor
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Post by Guimauve »

I thing you can create multiline or long comment with PB.

Place the comment as long as needed on 10 lines if you wish.
Select those lines and go to Edit menu and click on Insert Comments or press Ctrl+B.

Don't worry I have discovered this Feature 2 days go. After 2 mounts with PB.
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

Post by Codemonger »

@Guimauve

Another Canadian :!: :o
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
MadMax
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Oct 06, 2003 11:56 am

Post by MadMax »

WOW! that's a cool tip :lol:
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

well that blows my "wish" right out of the water... thanks :)
~Dreglor
scurrier
Enthusiast
Enthusiast
Posts: 169
Joined: Sat May 03, 2003 4:10 am

MULti line rem

Post by scurrier »

it would be nice to have a multi line rem
example:
remstart

all comments in this area



remend
this way you could just add comments when needed
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

i think you can do this with compiler directives
( 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... )
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: MULti line rem

Post by PB »

> it would be nice to have a multi line rem

You can if you use compiler directives like Blueznl said. See here:

viewtopic.php?t=3068
Post Reply