What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

Possible Duplicate:
How do I format my code blocks?

I'm new to this forum but I've used and still do use dozens of forums. But on this forum I have been unable to successfully past code and have it accepted. I get the following error....

•Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut. For more editing help, click the [?] toolbar icon.

I try everything but I can never get the code accepted. It is perfectly formatted just as it is in the program. what's the key? Thanks, Gary

share|improve this question

migrated from stackoverflow.com Mar 22 '12 at 2:59

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Michael Mrozek, John, random Mar 22 '12 at 3:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Paste your code and select your whole code & above the text box you will find {} brackets if you press that then it will be formatted as code. – Dave Mar 22 '12 at 2:13
Pedant: This isn't a "forum". – Al E. Mar 22 '12 at 4:07

1 Answer 1

Paste your code, then highlight your code, then hit the "{}" button. It should do the trick

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .