continue

skip to next iteration of loop in KornShell script 

KornShell Built-in


SYNOPSIS

continue [n]


DESCRIPTION

continue skips to the next iteration of an enclosing for, select, until, or while loop in a KornShell script. If a number n is given, execution continues at the loop-control of the nth enclosing loop. The default value of n is 1.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

1 

The value of n given was not an unsigned decimal integer > 0.


PORTABILITY

POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.

The select command and the ability to continue to the next iteration of it are extensions found in the KornShell.


NOTE

This is a special built-in command of the MKS KornShell.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC Windchill Requirements and Validation


SEE ALSO

Commands:
break, sh


PTC MKS Toolkit 10.5 Documentation Build 40.