SIGforum
Need help with “code tags” (programming related)

This topic can be found at:
https://sigforum.com/eve/forums/a/tpc/f/320601935/m/1480008694

December 07, 2022, 08:32 AM
Pipe Smoker
Need help with “code tags” (programming related)
In this post member ensigmatic mentions “code tags”. And demonstrates the result of applying them:

https://sigforum.com/eve/forum...760035694#3760035694

I’d not previously known of code tags, but, wow! Neato!

I found explanations on the web, but couldn’t make them work in an experimental post. Could someone show me how to reproduce ensigmatic’s simple demonstration in the post I linked above?

In order to make it visible I suggest replacing all left angle brackets with carets. E.g., ^code>, rather than <code>.



Serious about crackers.
December 07, 2022, 09:59 AM
Patrick-SP2022
Example with CODE tags
for($x = 1; $x <= 10; ++$x) {
    print "Hello, World! ($x)\n";
}


Remove the spaces shown below in the CODE tag.
[ CODE ]
for($x = 1; $x <= 10; ++$x) {
print "Hello, World! ($x)\n";
}
[ /CODE ]




December 07, 2022, 10:11 AM
Pipe Smoker
Thank you Patrick. Perfect! The site found by my web search had:
<code>
stuff…
</code>
(Lowercase “code”) but that didn’t work for me.



Serious about crackers.
December 07, 2022, 10:20 AM
snidera
BBCode Reference
December 07, 2022, 10:26 AM
Pipe Smoker
quote:
Originally posted by snidera:
BBCode Reference

And I thank you for that as well.



Serious about crackers.
December 08, 2022, 03:32 AM
henryaz
 
Info is right here on the SIGforum help page. Tools/Help/UBB Code. Not all of the BBCode tags are supported here.



When in doubt, mumble
December 08, 2022, 01:43 PM
Pipe Smoker
^^^^^^^^
Thank you Henry. I had discovered many of them, but not the
“[ code ]” and “[ /code ]” tags.

And the handy Tools => Help facility had slipped off of my radar screen. SIGforum is such a good resource.



Serious about crackers.