Comment Block

Blitz3D Forums/Blitz3D Beginners Area/Comment Block

Clarks(Posted 2004) [#1]
Is there anyway to create a comment block?


soja(Posted 2004) [#2]
Not in the native IDE. Currently, Blitz only supports single-line comments, so to create a comment block, you would have to use an IDE or somesuch that inserted (or removed) semicolons in front of each highlighted line, at your command.


Oldefoxx(Posted 2004) [#3]
It's been asked for -- several times.


Mustang(Posted 2004) [#4]
Was one of my first questions / requests when I bought Blitz3D - two years ago... :)


Beaker(Posted 2004) [#5]
You can comment-out a block of code using:

If 0
;some code here
Endif


big10p(Posted 2004) [#6]
Yes, MasterBeaker, I also use this method all the time while debugging. Just don't have any Const definitions inside the If block or Blitz will puke. :)


GfK(Posted 2004) [#7]
[a http://ns9.hosteur.com/~blitz3df/click/clic.php?url=http://www.3dgametool.com/visualblitz/visualblitz_demo.exe]VisualBlitz[/a] has a 'comment/uncomment block' option.


Clarks(Posted 2004) [#8]
thanks for the help