label command — LAMMPS documentation

\(\renewcommand{\AA}{\text{Å}}\)

# label command

## Syntax

    label ID

- ID = string used as label name

## Examples

    label xyz
    label loop

## Description

Label this line of the input script with the chosen ID. Unless a jump command was used previously, this does nothing. But if a jump command was used with a label argument to begin invoking this script file, then all commands in the script prior to this line will be ignored. I.e. execution of the script will begin at this line. This is useful for looping over a section of the input script as discussed in the jump command.

## Restrictions

> none

## Related commands

jump, next

## Default

none