Purpose

If an argument is given, resets BLUE FRAMENO to this value,
causing the next image taken to have this number. Without an
argument, checks for the highest-numbered BLUE image in the current
output directory, and set FRAMENO keyword to 1 above that value.

Usage

nextframeb [n]

Arguments

n = value for next image's index number (FRAMENO)

Output

none

Exit values

0 = normal completion
1 = wrong number of arguments
-1 = output directory not found or invalid frameno

Example

1) Set next frame number to 123

nextframeb 123

2) Set next frame number to 1 above the last frame number

nextframeb