Old 07-07-2021, 12:01 PM   #1
Rednroll
Human being with feelings
 
Join Date: Jan 2006
Posts: 1,995
Default RTconfig.txt comments block syntax?

Hi I'm working on doing some editing in the RTConfig.txt file of an existing theme.

I would like to comment out some sections while I work on replacing them.

Looking through an RTConfig.txt file I was able to figure out ";" will comment out individual lines of code. I looked/searched multiple references but so far am coming up empty on the syntax to use to comment out a block of code.

Last edited by Rednroll; 07-07-2021 at 12:37 PM.
Rednroll is offline   Reply With Quote
Old 07-07-2021, 01:25 PM   #2
JRTaylorMusic
Human being with feelings
 
Join Date: Feb 2019
Location: Austin, TX
Posts: 414
Default

;Pretty sure it’s just
;semicolons
;for each line 😜
JRTaylorMusic is offline   Reply With Quote
Old 07-07-2021, 01:57 PM   #3
Rednroll
Human being with feelings
 
Join Date: Jan 2006
Posts: 1,995
Default

Quote:
Originally Posted by JRTaylorMusic View Post
;Pretty sure it’s just
;semicolons
;for each line 😜
Ahh suck! Thanks. I was able to figure out how to insert a ; infront of each line selected in Notepad++, now gonna have to figure out how to remove them without removing the 2nd ;; which was originally a comment before I inserted.

Was really hoping for a similar C++ /* comment */ capability.

At least explains why I couldn't find anything.
Rednroll is offline   Reply With Quote
Old 07-08-2021, 05:25 AM   #4
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,681
Default

^^^^
What I would do is:

Code:
Change all ;; to zczc
Delete all single ;
Change all zczc to ;
(zczc is very unlikely to be in the rtconfig.txt statements, originally it was used as the Start of Message indicator in telex messages etc)
__________________
DarkStar ... interesting, if true. . . . Inspired by ...

Last edited by DarkStar; 07-08-2021 at 07:44 AM.
DarkStar is offline   Reply With Quote
Old 07-08-2021, 07:17 AM   #5
Rednroll
Human being with feelings
 
Join Date: Jan 2006
Posts: 1,995
Default

Quote:
Originally Posted by DarkStar View Post
^^^^
What I would do is:

Code:
Change all ;; to zczc
Delete all single ;
Change all zczc to ;
(zczc is very unlikely to be in the rtconfig.txtx statements, originally it was used as the Start of Message indicator in telex messages etc)
Great idea, thanks for the suggestion.
Rednroll is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.