I am trying to figure out how to insert a block of code into a forum comment.
I know I'll kick myself when I hear the answer but appreciate any help:)
Tried SRC in the forum text editor. Perhaps just doing it wrong.
Hi Brian - yeah it's the SRC button mate. What's happening when you click that?
You should get a box pop up that you write your code in :)
If it's still not working, a work-around is to click the HTML button and drop this in
<pre class="code">You should get a box pop up that you write your code in :)</pre>
Let's try that now below.
Print("SELL order opened : ",OrderOpenPrice());
Print("Error opening SELL order : ",GetLastError());
Okay, great!! It works.
Never saw the insert button so the code just looked like regular text in the pop up box.
I have kicked myself as promised :)
Thanks again - Cheers.