Frictional Games Forum (read-only)

Full Version: Lang file comment format
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A small question:
I've seen somebody (YourComputer?) use // to comment .lang scripts.
Recently I found out that XML, that lang is based off of, uses <!-- ... --> as comments.
FG hasn't commented their lang files at all.
...so which format is it?

I've never used // for adding comments to XML. Lang files are technically XML files, and XML relies on <!-- --> for comments.
(04-22-2012, 08:33 AM)Your Computer Wrote: [ -> ]I've never used // for adding comments to XML. Lang files are technically XML files, and XML relies on <!-- --> for comments.
I confirmed it: You never used //, lang files don't register // as comments, and they do register <!-- --> as comments. (I was too tired to figure out a way to test it yesterday.)