To make sure your code will be easily readable and not be marred by the forum software, please keep in mind that your code is marked as such. This can be achieved either by
highlighting it and clicking the
</>-button in the editor window;
for marking code within continuous text, typing a grave accent ( ` ) before and after the code;
typing four spaces/blanks before a single line to be marked as code, or
typing three grave accents before and after a complete paragraph of code.