QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: xra7en on January 19, 2019, 09:41:59 am
-
Now that is interesting, to this day, even in BATCH file - which I write a lot as well, I never use REM. It feels klunky and messy.
Now with that said (and since the topic is brought up), how hard would it be to add block comments
or
is it possible to do with " ' "?
maybe
sometimes I want to write a lot of comments and each line of ', gets redundant
If it already exists, please correct and show me the way !!
-
One simple way is to use the precompiler to make a segment comments.
$IF BLOCKCOMMENT THEN
Comment
Comment
Comment
$END IF
-
Well that's both clever and handy.
It can work with something as short as this, too...
$IF ' THEN
sdfsfsdf
sfdsfsfsf
sdfsdfsdf
sfsdfsdf
$END IF
-
well hell, that's pretty slick - not pretty, but slick