Add useful test/example file.
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 14 Nov 2008 09:56:56 +0000 (18:56 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 14 Nov 2008 09:56:56 +0000 (18:56 +0900)
examples/grid.sps [new file with mode: 0644]

diff --git a/examples/grid.sps b/examples/grid.sps
new file mode 100644 (file)
index 0000000..cfaa80a
--- /dev/null
@@ -0,0 +1,18 @@
+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.
+
+save outfile='grid.sav'.
+
+execute.