Message Format Options

Messages on this message board can be formatted either as raw HTML which must include all HTML formatting (including line and paragraph break tags), or in formatted HTML, which is the default. Formatted HTML assumes you're mostly typing text and only occasionally use HTML tags to mark up text.

Formatted HTML
Formatted HTML uses double angle brackets for embedding standard HTML formatting tags that affect the message text. This is done so that plain HTML (or XML) typed into a message can be displayed as code. So the following displays HTML text:

<HTML>
<BODY>
This is HTML text
</BODY>
</HTML>

While the following formats the text:

<<b>>This text shows in bold<</b>>

Posting Code
Code should be posted by using either the <pre> or <code> tags. The CODE tag allows you to specify a specific language and format the HTML accordingly.

<<code lang="VFP">>
************************************************************************
FUNCTION FileSize
******************
*** Function: Returns the size of a file
*** Pass: lcFileName
*** Return: the size of the file or -1 on error
************************************************************************
LPARAMETERS lcFileName
LOCAL lh, lnSize

lh = FOPEN(lcFileName)
IF lh = -1
RETURN -1
ENDIF

lnSize = FSEEK(lh, 0, 2) 

FCLOSE(lh)

RETURN lnSize
*EOP FileSize
<</code>>

will display the above code block with Visual FoxPro syntax color highlighting. Other languages supported and configurable via the lang attribute are:

  • C#
  • C++
  • ASP-HTML-VB
  • VB.NET
  • Java
  • HTML