You are here

Enabling Auto-Indexing

26 July, 2019 - 09:47
Available under Creative Commons-ShareAlike 4.0 International License. Download for free at

By default, while loops are auto-indexed disabled. In order for while loops to process and generate arrays, the loop tunnel must be enabled to auto-indexed arrays.

Figure 5.41 Disabled Auto-Indexing 

To enable auto-indexing, right click on the loop tunnel and select Enable Indexing from the pop-up menu.

Figure 5.42 Enabling Auto-Indexing  

In this example the while loop appropriately generates a 1,000 element numeric array with random numbers.

Figure 5.43 Auto-Indexing Enabled