Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Gansta93
Enthusiast
Posts: 238 Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:
Post
by Gansta93 » Sat Feb 26, 2005 6:13 pm
The best, I think, would be signes like ;* *; or yes a special compiler directive like:
Code: Select all
CommentsBlock
comments
on lines
EndCommentsBlock
.
blueznl
PureBasic Expert
Posts: 6166 Joined: Sat May 17, 2003 11:31 am
Contact:
Post
by blueznl » Sat Feb 26, 2005 6:48 pm
i'd settle for 'startcomment endcomment' but i wouldn't use it (at all) so who am i
still many shades of gfabasic in my programming style... one command one line one comment one line nothing fancy
( 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 ... )
Gansta93
Enthusiast
Posts: 238 Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:
Post
by Gansta93 » Sat Feb 26, 2005 9:23 pm
But it would be good if Fred would say us why he didn't it and what does he think about this wish.
Fred ?
PB
PureBasic Expert
Posts: 7581 Joined: Fri Apr 25, 2003 5:24 pm
Post
by PB » Sun Feb 27, 2005 1:08 am
The FAQ has linked to my three-year-old tip here:
viewtopic.php?t=3068
Does exactly what is requested here.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Dräc
Enthusiast
Posts: 150 Joined: Sat Oct 09, 2004 12:10 am
Location: Toulouse (France)
Contact:
Post
by Dräc » Sun Feb 27, 2005 10:24 am
blueznl wrote: japbe
1. [shft] + [cursor down]
2. [ctrl] +
works fine for me...
You don't need [shft] for step 1, simply to select the lines to comment.
But does the reverse way exist (to uncomment)?
@Gansta93: what about to translate into english the short-cut section from jaPBe German Manuel, please ?
Flype
Addict
Posts: 1542 Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy
Post
by Flype » Sun Feb 27, 2005 3:37 pm
yes :
[Ctrl] + [Shift] +
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Gansta93
Enthusiast
Posts: 238 Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:
Post
by Gansta93 » Sun Feb 27, 2005 5:14 pm
Flype wrote: yes :
[Ctrl] + [Shift] +
Yes, but we must select the text to comment. With my wish, we'd just have to write for example /;comments;/... quickly!
dracflamloc
Addict
Posts: 1648 Joined: Mon Sep 20, 2004 3:52 pm
Contact:
Post
by dracflamloc » Mon Apr 25, 2005 4:54 am
Can we please get real block comments....