Template:Bcode:Example



The Bcode templates are designed to be included into pages as templates for specific formatting of code. Bcode is merely a shortening of Basic Code (though no relation to BASIC or Visual Basic) which represents the fact that these are very simple formats. They're paticularly useful for presentation of code segments that lack formatting via the  tags, e.g. TI-BASIC.

Usage

 * Call with  with name followed by the arguments, separated by the pipe   character
 * No  tags are needed
 * Italicize variables or enclose them within  tags

Available Templates
There are three formatting styles:
 * Bcode:Syntax – The syntax of a programming language function (or any other applicable use)
 * Bcode:Example – An example of a programming language function (or any other applicable use)
 * Bcode:Output – What the output of a program would look like if run

Syntax
The first argument is the syntax of a programming language function (or any other applicable use) and the second argument is limitations to the code:

The parser renders the above to appear as: