Posts: 780
Threads: 49
Joined: Dec 2001
Whitespace and comments don't increase the size of the final executable, and I think removing comments from a 2 gig source file is absolutely STUPID.
I try to comment my source and add as much whitespace as possible to make it neat and organized.
well, he is just exercising his coding skills by making a parser or whatever, not a bad thing at all, however i do agree that this perhaps isnt the BEST application for it...
Posts: 1,407
Threads: 117
Joined: Dec 2002
Comment removers were useful in QB, where space in the IDE was limited and it could save a lot of "String space corrupt" errors. Or in QBasic, where you had a limit of 160K for source+ data.
In FB this kind of program has an use only as a source obfuscator, but in that case you could go beyond: substitute as many carry returns for colons, to make lines as long as the compiler can handle, without breaking the source, off course. I once tried..not so easy.
A more useful app would be a code beautifier...
Antoni
Posts: 2,404
Threads: 153
Joined: Jan 2005
Quote:well, he is just exercising his coding skills by making a parser or whatever, not a bad thing at all, however i do agree that this perhaps isnt the BEST application for it...
:lol: I like making parsers,. Yeah, I knew when I got the idea,. "boy, this is usless",. but, I just wanted to do it anyway, for the heck of it... ^_^
I mostly do code parsers, HTML being one, or whatever else, or whatever other parser Ideas I get... I like 'em for some odd reason..
PS: It should work in QB too,.. :roll: ,.. minus the SLEEP 100 as I said b4...

:lol:
Kevin (
x.t.r.GRAPHICS)
Posts: 254
Threads: 8
Joined: Apr 2005
Well, if you like making parsers and the like, why don't you make a code indenter for nested statements? That's something people would actually use.
Posts: 2,771
Threads: 96
Joined: Oct 2003
Quote:Leaves ('$INCLUDE
's alone and unharmed..
er... what about
'$DYNAMIC
or
'$STATIC
Posts: 2,404
Threads: 153
Joined: Jan 2005
:o ...............

I thought it was usless? You kept the org. right? eh heh?
No, sorry, forgot, it trashes them..
:roll:
Kevin (
x.t.r.GRAPHICS)