How can I comment out multiple lines in the code editor?  [SOLVED]

Questions about MultiCharts and user contributed studies.
User avatar
hb7of9
Posts: 18
Joined: 23 Apr 2014
Has thanked: 9 times
Been thanked: 3 times

How can I comment out multiple lines in the code editor?

Postby hb7of9 » 15 Sep 2023

How can I comment out multiple lines in the code editor?

HellGhostEvocatorX
Posts: 81
Joined: 10 Feb 2022
Has thanked: 52 times
Been thanked: 11 times

Re: How can I comment out multiple lines in the code editor?  [SOLVED]

Postby HellGhostEvocatorX » 17 Sep 2023

As long as the editor is the same as for multicharts.net, it should work here
/*
code
code
code
...
*/

User avatar
hb7of9
Posts: 18
Joined: 23 Apr 2014
Has thanked: 9 times
Been thanked: 3 times

Re: How can I comment out multiple lines in the code editor?

Postby hb7of9 » 17 Sep 2023

@HellGhostEvocatorX

Amazing, thanks!

User avatar
BB123
Posts: 69
Joined: 24 Nov 2023
Has thanked: 23 times
Been thanked: 11 times

Re: How can I comment out multiple lines in the code editor?

Postby BB123 » 01 Dec 2023

Another way to comment out code is
1. you can use open bracket to start and close bracket to stop .. This is good for large groups of text on multiple lines that you want to comment out example= {text}

2. you can comment out a single line of code by just using // example= //here is my commented out line of code...


Return to “MultiCharts”