Reference

Table of Contents  ▸  List of Commands  ▸  Control Flow  ▸  do◀  break    |    done  ▶

do

Built-in command

No arguments

Description:

Start a do...while block.

Example of use:

$ gmic image.jpg luminance i={ia+2} do set 255,{u(100)}%,{u(100)}% while ia<$i
Command: image.jpg luminance i={ia+2} do set 255,{u(100)}%,{u(100)}% while ia<$i