MOO-cows Mailing List Archive


Re: Comments in .db files

Seth I. Rich writes:
> Somewhere in the back of my head I recall reading that comments may be
> inserted into verb code with /* markers */.  Unlike comments inserted as
> strings, these will be entirely ignored and not even saved in the
> database.  Is it kosher to insert such comments into the .db file
> directly?  Will they be ignored?  In what parts of the file, if any?

They are completely ignored during parsing of MOO code and not represented in
the parsed/compiled form at all.  You should only put them into MOO verb code
within the DB file.



Home | Subject Index | Thread Index