# Usage -- ways to use a function in a documentation node

## Synopsis

• Usage:
document { ... , Usage => "usage", ... }

## Description

The Usage entry should give a formal example showing the usage of the function. The variables used in this formal example should be the ones used in the Inputs and Outputs sections of the documentation. Here is the code for the Usage entry of the method matrix(List):

 Usage => "matrix v"

Here is the code for the Usage entry of the method resolution(Module):

 Usage => "resolution M\nres M"

This option also can be used within a SYNOPSIS section.

## See also

• Inputs -- inputs for a function in a documentation node
• Outputs -- outputs for a function in a documentation node

## Functions with optional argument named Usage :

• "SYNOPSIS(...,Usage=>...)" -- see SYNOPSIS -- a standardized synopsis for use in documentation nodes
• "document(...,Usage=>...)"

## For the programmer

The object Usage is .