Warning! This is the old Hercules bugtracker archive, and may not reflect the current state of Hercules. The current bugtracker is on GitHub Issues.
Issue information
Issue ID
#5096
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 1, 2011 5:03
Last Post
Hercules Elf Bot
Feb 7, 2012 21:01
Confirmation
N/A
Hercules Elf Bot - Dec 1, 2011 5:03
Originally posted by [b]Brian[/b] /doc/script_commands.txt
[quote]Whenever '//' is encountered in a line upon reading, everything beyond this on
that line is considered to be a comment and is ignored. This works wherever you
place it.[/quote]
The documentation is missing information about block comments.
[code]// this is a comment until the end of the line
/* this is a long comment
that can extend over multiple lines
wheeeee */[/code]
This post has been edited by
Brian
on Mar 15, 2012 0:05
Hercules Elf Bot - Dec 8, 2011 16:17
Originally posted by [b]Jguy[/b] Added in [rev=15024].