Arrays and/or Lists are very common in programming languages. In Qlik scripting there are two ways to go about creating an array of sorts.
The first way is storing a list in a variable:
SET vCount = 'One','Two','Three'; for each i in vCount Trace ------------ $(i); Next i
The second way is by using a field:
Cnt: Load * Inline[ Cnt One Two Three ; For i = 0 to NoOfRows('Cnt'); Let vTmp = Peek('Cnt',$(i),'Cnt'); Trace ------------ $(vTmp); vTmp=; Next i
The main use of these will be for iterating over their values. There are not any native list/array operations, however you can get around that utilizing other Qlik functions. For example: concatenate, where not exists, reinitializing the variable, etc…