Author Topic: Adding comments in GSX .ini files  (Read 1873 times)

Timothy Metzinger

  • Jr. Member
  • **
  • Posts: 79
Adding comments in GSX .ini files
« on: February 01, 2020, 04:36:51 am »
Is there a way to tag text so GSX would treat it as a comment?  I'd like to put notes in the customization files for future reference.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50683
    • VIRTUALI Sagl
Re: Adding comments in GSX .ini files
« Reply #1 on: February 03, 2020, 12:10:22 pm »
I think semicolons should work.

Timothy Metzinger

  • Jr. Member
  • **
  • Posts: 79
Re: Adding comments in GSX .ini files
« Reply #2 on: February 03, 2020, 09:47:03 pm »
I think semicolons should work.

I'll test and let you know.

Timothy Metzinger

  • Jr. Member
  • **
  • Posts: 79
Re: Adding comments in GSX .ini files
« Reply #3 on: February 03, 2020, 10:08:55 pm »
No luck.  While I put a couple of lines starting with semicolons in an .ini file and GSX loaded the file, the minute I made any changes to the file the updated version had lost the comment lines.   I will try putting the comments at the end instead of in the middle, but i suspect that the entire file gets overwritten when any changes are made.

Timothy Metzinger

  • Jr. Member
  • **
  • Posts: 79
Re: Adding comments in GSX .ini files
« Reply #4 on: February 03, 2020, 10:28:24 pm »
No luck.  While I put a couple of lines starting with semicolons in an .ini file and GSX loaded the file, the minute I made any changes to the file the updated version had lost the comment lines.   I will try putting the comments at the end instead of in the middle, but i suspect that the entire file gets overwritten when any changes are made.

Confirmed.   I'll have to come up with another way to keep notes on GSX configurations, that's separate from the sim and GSX.