IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this forum will no longer be available. More details available on our FAQ.
  • No replies
605 Posts

Pinned topic How to post code in this forum

‏2013-08-15T21:31:15Z |

1. To post code without putting it in a box

On the line where you want to type your code or paste your code

  1. Type a a blank
  2. Select it
  3. Choose a non-proportional font such as Courier New.from the Font drop-down
  4. Sart typing your code, or paste your code
  5. Or you can change the font after you have entered the code

Fmyfile    if   e             disk
     read myfile;


2. To post code in a box

  1. Follow the steps above
  2. Select the code
  3. Click on Blockquote. It's the 9th icon from the left in the second row. It looks like two large white quotation marks.
  4. Unfortunately, the box doesn't show up until you save the post.
  5. To end the Blockquote, add another line after your code and click Blockquote again. You can see whether a particular line is part of a block quote by looking at the line at the bottom of the editing window. It will say "blockquote" if it's part of a block quote.

Fmyfile    if   e             disk   
    read myfile;
    if something;

Updated on 2013-08-15T21:46:32Z at 2013-08-15T21:46:32Z by barbara_morris