Z!re
|
 |
« Reply #15 on: May 04, 2005, 09:33:40 PM » |
|
VonGodrics IDE supports multireming and unreming rows. 
|
|
|
Logged
|
|
|
|
Mitth'raw'nuruodo
|
 |
« Reply #16 on: May 04, 2005, 09:40:37 PM » |
|
I know, I know but I am still learning.
Let me get this strait:
IF will be executed at runtime
#IF will be executed at compile time?
Is that right?
BTW, I LOVE the /* and */, and the // :wink:
|
|
|
Logged
|
i]"But...it was so beautifully done"[/i]
|
|
|
VonGodric
|
 |
« Reply #17 on: May 05, 2005, 02:28:39 AM » |
|
v!c pliiz DON'T add comment blocks. It would need so mutch haacking in the scintilla...
Beside I added to FBIde block comment in/out and who needs #if 0 ... #endif does the job
yes that's preprocessor stuff. Actually it's evulated even before actual compilation.
#if 0 <- equals to false so it won't touch it. beside you can do some nice stuff like.
#define IncludeSound 0
...code...
#if IncludeSound ...sound code... #endif
|
|
|
Logged
|
url]http://fbide.sourceforge.net/[/url]
|
|
|
MystikShadows
|
 |
« Reply #18 on: May 05, 2005, 03:45:20 PM » |
|
I'm with VonGodric....
as the old saying goes..
saving keystrokes is the job of the IDE, not the language :-)
|
|
|
Logged
|
|
|
|
shiftLynx
|
 |
« Reply #19 on: May 05, 2005, 03:58:57 PM » |
|
Here is a quick multi-comment hack for if you really prefer to read 'comment' and 'endcomment' in the code:
[syntax="FB"] #define comment #if 0 #define endcomment #endif
print "hello" comment this is a multi-line comment. blah blah. endcomment print "world"
while inkey$ = "": wend [/syntax]
|
|
|
Logged
|
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
|
|
|
v3cz0r
|
 |
« Reply #20 on: May 05, 2005, 04:09:23 PM » |
|
I thought it wouldn't be so complex with Scintilla, anyways, if C-ish comments were added, they could be used in the middle of expressions too (foo = /* ... */ bar), but as keeling said.. that would be another blasphemy, and jesus horse is tired of been crucified.
How the other BASIC's added support for multi-line comments? I've no idea.. VB and PB don't support that, if i remember.
|
|
|
Logged
|
|
|
|
shiftLynx
|
 |
« Reply #21 on: May 05, 2005, 04:18:53 PM » |
|
Personally, I think that only having single-line comments makes it neater in BASIC. There's nothing wrong with having to type an extra character per line at all; most people do it in C comments anyway: [syntax="C"] /* * Blah * Blah * Blah */ [/syntax] If people can't live without multi-line comments then they will just have to suffer with horrible preprocessor hacks.  Stick to what you think is best, v1c; whatever you do, somebody is bound to complain one way or the other. I notice there is a great lack of appreciation in most posts about FreeBASIC; people only seem to be motivated to post when they find something that annoys them. It must be tough for you.
|
|
|
Logged
|
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
|
|
|
ShadowWolf
Wandering Guru
  
Posts: 389
|
 |
« Reply #22 on: May 05, 2005, 04:47:36 PM » |
|
shift that human nature the people that are content don't speack out. it only the people that are dissatisifed that speak out this can be seen everywere for example in politices it only the Nuts that you ever really see protesting crap you never see the middle ground people protesting crap
(there are exception to this i.e. when the middle ground people relize they got screwed by the nuts then they finaly get off there collective asses to protested but at this point there no longer content)
|
|
|
Logged
|
|
|
|
Anonymous
Guest
|
 |
« Reply #23 on: May 05, 2005, 07:23:04 PM » |
|
HAIL V1c !!!
|
|
|
Logged
|
|
|
|
VonGodric
|
 |
« Reply #24 on: May 06, 2005, 02:39:11 AM » |
|
It's everything to do with the lexer module that is used in scintilla. I'v already hacked VB's lexer beyond recognition. So it's not even that hard as I made it look in the first place. But I really think that you shouldn'tbloat the namespace more then it already is... but final decision is yours of course 
|
|
|
Logged
|
url]http://fbide.sourceforge.net/[/url]
|
|
|
v3cz0r
|
 |
« Reply #25 on: May 06, 2005, 04:48:27 PM » |
|
Well, there was no consensus, so let it the way it is now, at end it would be like shiftLynx said, people would type a new char on every line to make sure that was a multi-line comment.. to comment out code that is being tested or such, #if 0 #endif can do the job..
Lets open a committee to take new decisions on language changes ;)
|
|
|
Logged
|
|
|
|
Antoni Gual
|
 |
« Reply #26 on: May 06, 2005, 08:11:00 PM » |
|
A camel is a horse designed by a comiteee...
|
|
|
Logged
|
Antoni
|
|
|
relsoft
|
 |
« Reply #27 on: May 07, 2005, 05:43:54 AM » |
|
If it ain't broke, don't fix it. :*)
|
|
|
Logged
|
|
|
|
diakin
Member

Posts: 72
|
 |
« Reply #28 on: May 07, 2005, 09:35:52 AM » |
|
[...] If people can't live without multi-line comments then they will just have to suffer with horrible preprocessor hacks.  Stick to what you think is best, v1c; whatever you do, somebody is bound to complain one way or the other. I notice there is a great lack of appreciation in most posts about FreeBASIC; people only seem to be motivated to post when they find something that annoys them. It must be tough for you. People can live without many things -TV, PC, SMS etc. But it not means that we don't need to do anything to improve our life. All suggestions in this forum was send out not for punish Victor, but for improving FreeBasic. Of course is not so easy for Victor to filter all this "buzz" :-? Multiline comment is not the first necessity thing but it's useful.
|
|
|
Logged
|
|
|
|
shiftLynx
|
 |
« Reply #29 on: May 07, 2005, 11:11:08 AM » |
|
Thank you, I didn't realise people cannot live without PCs, TVs and SMS.
|
|
|
Logged
|
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
|
|
|
|