posting code

bluejets

Senior Member
Anyone care to give a straightforward answer on how to post code here. I asked before but only been referred to FAQ which I have tried every way that I can with zero success.
 

SAborn

Senior Member
it is simple, but hard to show as the forum will format the tags, so i will attempt like this as i forget how to post it otherwise.

(square bracket) [ (the word) code (followed by a second square bracket) ]

"add the code" and finish with (square bracket) [ (backslash) / (the word) code (and another square bracket) ]
See if that gets past the forum formatting.
 

manuka

Senior Member
Bluejets: SAborn has nailed it, but perhaps you want this even simpler?! Just use the square bracket enclosed word 'code' before your program posting - then a 'code' again at the end, BUT preceeded by a /.


Here's the same info done this way -
Code:
Bluejets: SAborn has nailed it, but perhaps you want this even simpler?!  
 Just use the square bracket enclosed word 'code' before your program posting 
- then a 'code' again at the end, BUT preceeded by a /.
HTH - Stan.
 

hippy

Ex-Staff (retired)
To include [tags] within posts, wrap them in [noparse]...[/noparse] tags.

So -

[noparse][code]...[/code][/noparse]

will show as -

[code]...[/code]

And -

[noparse][noparse]...[/noparse][/noparse]

will show as -

[noparse]...[/noparse]
 
Last edited:

westaust55

Moderator
The next way (there is always more than one way) . . .


cut and paste your program code into the post window.
Then with the program code highlighted/selected, click on the hash symbol (#) at the bottom right of the toolbar at the top of your post window.
That will put the code markers around your program code listing.

done, as easy as that . . . . :)
 

manuka

Senior Member
And yet another - screen grab & post as an attached image. Of course this best suits smaller programs, but -aside from scrawled remarks- the enhanced Editor's coloured features can be then inspected too.
 

Attachments

Last edited:

bluejets

Senior Member
Yes...well thanks everyone.......
As they say.....a picture is worth a thousand words.
 
Last edited:
Top