Some QVS snippets

Qlik
// AutoGenerate() demo-sample
t:
NoConcatenate LOAD
    10 + RowNo() - 1 as t
    , RecNo() as g
    , (6 + RecNo()) * 1e3 + IterNo() - 1 as v
AutoGenerate 7 While IterNo() <= 10;
// iterate over tables - cleanup
FOR i = 1 to NoOfTables()
    LET _T = TableName(0);
    DROP Table [$(_T)];
NEXT i
i = ; _T = ;