Category: Statement

Syntax: repeat <int expression> <statement> end

Description

Use the repeat keyword to iterate a statement. The expression should result in the integer number. Use round() function to convert real expression into integer.

Parameter Type Description
expression int Number of iterations

Example:

%% make series of pulses for 100us t = 100us repeat round(t/(t90+10us)) mwpulse t90 wait 10us end

Legend: PPL keywords; PPL pulse commands; comments.