concept loop in category gnuplot
appears as: Loops, loop, loop, The loop

This is an excerpt from Manning's book Gnuplot in Action.
Loops and programming constructs— Gnuplot has acquired support for some programming constructs, most notably for loops. This promises to simplify certain repetitive tasks significantly; but because gnuplot doesn’t (yet) include an iterable data type (that is, an array type), the use of loops often leads to somewhat haphazard constructs and ad hoc data manipulations.[1] 1This may be changing. Merely days before this book went to the printer, Ethan Merritt published an experimental patch that adds an array-type to gnuplot. Check it out: http://sourceforge.net/p/gnuplot/patches/724/.
Strings as data structures— Strings are gnuplot’s only complex data structure and are therefore used (or abused) as a general-purpose container type. Whitespace-separated strings of tokens frequently stand in for proper arrays, and functions exist to extract an individual token by its index (mimicking the access of an array element). In the absence of proper alternatives, strings are the only iterable data structure required by loops.