Add useful test/example file.
[pspp-builds.git] / examples / grid.sps
1 COMMENT  -*-pspp-*- .
2
3 COMMENT This program is useful for testing the behaviour of the Data and Variable Sheets.
4
5 input program.
6   vector var(500 F8.3).
7   loop #c = 1 to 1000.
8     loop #v = 1 to 500.
9       compute var(#v) = #v + #c / 1000.
10     end loop.
11     end case.
12   end loop.
13   end file.
14 end input program.
15
16 save outfile='grid.sav'.
17
18 execute.