File: vector.stat

package info (click to toggle)
pspp 0.3.0-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,288 kB
  • ctags: 4,679
  • sloc: ansic: 57,209; sh: 2,874; makefile: 405; sed: 93; perl: 18
file content (24 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
title 'Test VECTOR utility'.

data list /c 1(a).
begin data.
5
3
4
1
2
end data.

string x1 to x5 y1 to y5(a1).
vector x=x1 to x5.
*formats all(f1).
compute x(number(c))=c.
leave x1 to x5.
list.

vector x=x1 to x5.
vector y=y1 to y5.
*formats all(f1).
compute y(number(c))=x(number(c)+1).
display vector.
list.