2 Ide Features
2 Ide Features
1. The search function should search in all include files as well (best would be a checkbox in the search dialog)
2. A block comment function like C
/* */
to make block comments.
2. A block comment function like C
/* */
to make block comments.
Re: 2 Ide Features
This is due of the language design. Most Basics don't have block comments...Motu wrote:block comment function like C
/* */
Windows 7 & PureBasic 4.4
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
- Joakim Christiansen
- Addict
- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
Block comments would be nice to have.
EDIT:
EDIT:
I use them all the timeTry Ctrl+B and Alt+B on a selected block of text.

Last edited by Joakim Christiansen on Tue Nov 20, 2007 3:22 pm, edited 1 time in total.
I like logic, hence I dislike humans but love computers.
Code: Select all
CompilerIf #False
Hooo,
a
block
comment!
CompilerEndIf

quidquid Latine dictum sit altum videtur
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
BTW, shouldn't work this?:
Bug 
Code: Select all
Macro REM
CompilerIf #False
EndMacro
Macro EndREM
CompilerEndIf
EndMacro
REM
Hooo,
a
block
comment!
EndREM

No, the CompilerIf processes it on COMPILE time, so what actually gets compiled in that case is:
Code: Select all
Macro REM
EndMacro
REM
Hooo,
a
block
comment!
EndREM
No, the REM macro is correctly expanded to "CompilerIf #False".
But then everything is ignored until a "CompilerEndIf" is reached (including macro resolving)
But the CompilerEndIf is never found as it is inside a macro that will not be expanded.
Not a bug. Just logical behavior.
But then everything is ignored until a "CompilerEndIf" is reached (including macro resolving)
But the CompilerEndIf is never found as it is inside a macro that will not be expanded.
Not a bug. Just logical behavior.
quidquid Latine dictum sit altum videtur