Posting code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    Posting code

    It helps the volunteers here tremendously when you post the actual code that is causing you problems. Not the entire application. Just the parts you have written that are causing the problem.

    1 - Copy the code from Visual Studio
    [imgnothumb]http://clint.stlaurent .net/bytes/code-copy.jpg[/imgnothumb]

    2 - In your question thread, click the [code] tags button. Its the one that looks like # symbol
    [imgnothumb]http://clint.stlaurent .net/bytes/tags-code.jpg[/imgnothumb]
    Code tags have magically appeared in your post with the cursor right between them.

    [code]|[/code]

    Just paste and you should see this
    [CODE] public void BrokenMethod()
    {
    // I don't understand why this doesn't work
    int Yogi = "Bear";
    }[/CODE]

    Which will look like this
    Code:
            public void BrokenMethod()
            {
                // I don't understand why this doesn't work
                int Yogi = "Bear";
            }
    More on tags. They're cool. Check'em out.
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Some context?

    Comment

    • tlhintoq
      Recognized Expert Specialist
      • Mar 2008
      • 3532

      #3
      It was meant to be a build of something I could copy/paste as quick responses.
      Then I thought I would stick in someplace that might get it seen as a gentle hint to people to use code tags.
      So the context is ... misc... don't be lazy... wishing the '#' button said [code]

      Comment

      Working...