Message Format OptionsMessages 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 <HTML> <BODY> This is HTML text </BODY> </HTML> While the following formats the text: <<b>>This text shows in bold<</b>> Posting Code <<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:
|