Teledyne LeCroy Conquest User Manual - Users Manual User Manual

Page 232

Advertising
background image

Appendix A

222

Repeat

Repeat Expression

Main block

Remark:

This statement repeats all statements in the block while Expression evaluates
to TRUE.

Example

F1 = AddField(0, 20, "Field1", "", "F1");

/* Loop repeats until current position >= 100 */

Repeat (CURPOS < 100)

{

SubF1 = AddField(CURPOS, 23, "SubField of field F1",

"subfield of F1", "SubF1");

}

Advertising