Command Stub (68k)

This page is a guide to both format and content for pages describing a particular command. Make sure that you follow it when adding a new command, and also remember to add 3-5 page tags describing the command content.

If a section (such as Advanced Uses) does not contain any information, feel free to omit it.

Make the |picture parameter the page name followed by .png and it will find the screenshot file, which is uploaded on the command index page, or will be shortly.

See inc:68k-command-help for a description of the command sidebar template.

Command Summary

A short description of what the command does.

Command Syntax

The generic syntax of calling the command, with arguments.

Describe how to get the command from a menu.

This command works on all calculators.

X byte(s)

(Include this disclaimer if command xxxxx doesn't appear correctly due to markup limitations. See d() for an example)

NOTE: Due to the limitations of the wiki markup language, the xxxxx command on this page does not appear as it would on the calculator. See Wiki Markup Limitations for more information.

A complete description of the basic uses of the command. All commonly used and documented ways of calling the command should be listed here; inputs, outputs, and anything else important should be mentioned.

:At least one piece of example code
:should be included here.


Advanced uses include rarely used or undocumented ways of calling the command in question. If there's an unusual but effective way of using the command, that too should be listed. Another type of advanced use is a programming technique to which the command is critical. Finally, system variables modified by the program should be listed here. With each advanced use, you should have a piece of example code to show how it works, as well as an explanation.

If there is already a page on the advanced use of the command, give a short synopsis, then link to that page - you shouldn't include the entirety of that page here.

Separate unrelated advanced uses with a horizontal bar.

# Optimization

This section includes both ways to optimize use of the command, and other common pieces of code that this command can replace in an optimization. Make sure to mention if the optimization improves speed of the program, size, or both. Sample code should be included too, preferably in the following format:

:unoptimized code
can be
:optimized code


# Formulas

(this section is usually not present)
This section is unnecessary for most commands. The only ones that would require it are the ones on the high end of mathematical complexity, such as the statistics commands. Use the math template to type in a LaTeX formula that matches the rest of the page in background. For example, type [[include inc:68k-math eqn = \sum_{i=1}^n\frac{a}{r^i}]] to get:

(1)
\begin{align} \sum_{i=1}^n\frac{a}{r^i} \end{align}

# Error Conditions

For the non-generic errors that might occur when using this command (that is, syntax-type errors shouldn't be included). In a format similar to the following:

260 - Domain error happens when the argument is not in the range 1-99.

780 - No solution found happens when the equation doesn't have a solution.

Exclude the following errors because they don't rely on the specifics of a command, and can occur almost anywhere: 180-Break, 210-Data type, 670-Memory (but do include 673-Memory, because that's unusual), 680..720-Missing (..}, 790-Non-algebraic veriable, 830-Overflow, and 910..940-Syntax-type errors.

# Related Commands

Several (around 3) commands have a similar function or are used in a similar context to this command. Make a bulleted list of them, with links to the other commands' pages. It will often be the case that several commands all link to each other.

• Command 1
• Command 2
• Command 3