- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The comment edit box has a tool bar. The next to the right most button:
{...}
code
You click on that. Then there is a drop-down box to select the language, which affects the formatting style. Then, you can past in a copied piece of your program. Then click on the appropriate submit button.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Type in the introductory paragraphs (to explain the topic of the post, etc.) as usual, then move the cursor to the next line. Click on the "{...}code" button (the next-to-last button in the toolbar at the top of the comment box). Select the language (Fortran, C, etc.) using the drop-down menu, paste the program source into the box, and press OK. You can then add more paragraphs of text, if you wish. Finally, press "submit" and respond to any captcha-s that are presented.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer.
It works, but it does not include the line number and the color
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The line numbers and syntax coloring are displayed after you press "submit" and the newly submitted post appears in the thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to note if the file is large (for some definition of large) it would be better to attaché the file(s), as a zip, to the post.
Les

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page