Skip to content

TSTool / Command / EndIf


Overview

The EndIf command ends a block of commands that start with an If command. The If and EndIf commands must have the same value for the Name parameter to allow the command processor to determine the start and end of the block.

Command Editor

The command is available in the following TSTool menu:

  • Commands / General - Running and Properties

The following dialog is used to edit the command and illustrates the command syntax.

EndIf command editor

EndIf Command Editor (see full-size image)

Command Syntax

The command syntax is as follows:

EndIf(Parameter="Value",...)

Command Parameters

Parameter                      Description Default                 
Name
required
The name that will be matched with the name of an If command to indicate the block of commands in the if condition. None - must be specified.

Examples

See the automated tests.

Troubleshooting

See the main TSTool Troubleshooting documentation.

See Also

  • If command