Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

fordata Statement

The fordata statement iterates through a data element, once for each line. For each iteration, a variable provided by the user is set to hold the contents of the line in the data element corresponding to the current iteration.

Syntax

The syntax of the fordata statement is:

Example


If a data element called mydata.txt contained the following contents:


Running this script against the contents of mydata would produce the following results:

 

  • No labels