Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nuke on June 21, 2004, 02:15:48 am

Title: block comments in tables
Post by: Nuke on June 21, 2004, 02:15:48 am
would it be hard to add block commet capability to ships tables, that way i can disable portions of the tablles without commenting out every line? it would make mod troubleshooting abit easyer.
Title: block comments in tables
Post by: karajorma on June 21, 2004, 08:24:52 am
One of the recent builds does modular tables. Surely that's much better :D
Title: block comments in tables
Post by: WMCoolmon on June 21, 2004, 03:55:45 pm
Reading the code, it looks like this is already implemented. Have you tried using /* and */ like this?
Code: [Select]
/* I'm a little block comment, short and stout. This is my start point,
this is my end. */
Title: block comments in tables
Post by: Nuke on June 21, 2004, 05:02:49 pm
thats how you do block comments in c but i want to have something similar to use in tables, this is just to aid in mod development.
Title: block comments in tables
Post by: WMCoolmon on June 21, 2004, 05:20:58 pm
That's what I mean, you should be able to use /* and */ in tables.
Title: block comments in tables
Post by: taylor on June 21, 2004, 06:52:06 pm
WMCoolmon is right, everything between /* and */ in a table is considered a comment and ignored.
Title: block comments in tables
Post by: Nuke on June 21, 2004, 08:47:55 pm
oh goodie, thanks :D
Title: block comments in tables
Post by: Taristin on June 21, 2004, 10:05:32 pm
Hmmm... convienient...
Title: block comments in tables
Post by: WMCoolmon on June 21, 2004, 11:18:19 pm
*Wonders how long this has been in there. :p*
Title: block comments in tables
Post by: taylor on June 21, 2004, 11:39:11 pm
Quote
Originally posted by WMCoolmon
*Wonders how long this has been in there. :p*

*Thinks back to porting FS1 two years ago and getting the original tables to work.  Remembers same comment blocks there as well.*

I'd have to say: "A good long while." :lol: