projects
/
pspp-builds.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
combine-files: Eliminate VAR_NAME_LEN restriction from combine_files().
[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
variable label var1 'First variable' var2 'Second variable' var3 'Third variable'.
17
18
save outfile='grid.sav'.
19
20
execute.