File: grid.sps

package info (click to toggle)
pspp 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 66,676 kB
  • sloc: ansic: 267,210; xml: 18,446; sh: 5,534; python: 2,881; makefile: 125; perl: 64
file content (20 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
COMMENT  -*-pspp-*- .

COMMENT This program is useful for testing the behaviour of the Data and Variable Sheets.

input program.
vector var(500 F8.3).
  loop #c = 1 to 1000.
    loop #v = 1 to 500.
      compute var(#v) = #v + #c / 1000.
    end loop.
    end case.
  end loop.
  end file.
end input program.

variable label  var1 'First variable' var2 'Second variable' var3 'Third variable'.

save outfile='grid.sav'.

execute.