Hello, everyone.

Since I am new to this site, I have both a question to ask regarding the subject tags, and also about a while exercise I am working on. However, before I state the while exercise, I first need to know exactly how one uses the subject tags to present code.

I have never used such tags in forums, so I want to be sure I follow the correct procedure for doing so prior to stating my exercise question.

Any help would be appreciated.

FrstratdProg:surprised

Recommended Answers

All 2 Replies

basically, you should put code segments between [code] and [/code] tags. It looks like this:

Your code will be in here
    and formatting will be preserved
    so we can all read it

If you want to point out a specific line, you can use [inlinecode] and [/inlinecode], which looks something like this . Inline code doesn't look as good (imho) when it spans multiple lines.

In other words ... Here is regular text. Here is code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.