Loop

Description

The Loop command enables you to loop underlying program commands in PolyScope X.


To access Loop program

  1. Go to the basic command screen. See Basic Command Nodes.

  2. Tap the Loop icon in the Commands screen.

    A node is inserted into the program tree. The node has an editable field named Loop Type.

  3. Tap the Loop Type field.

    Three selections are available:

    • Always

    • X Times

    • While

     

  4. Tap the Always tab. No further functions to do.

 
  1. Tap X Times.

    Two additional tabs appear on the right:

    • X Times

    • Variable Name

  2. Tap the X Times tab and edit.

  3. Tap Confirm.

  4. Tap Variable Name and edit.

  5. Tap Confirm.

  6. Tap While.

    An additional tab named Expression appears on the right.

  7. Tap Expression.

    Create expression that must be between 1 and 1000 characters.

  8. Tap Confirm.