/[pspp]/pspp/tests/command/loop.sh
ViewVC logotype

Diff of /pspp/tests/command/loop.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by jmd, Tue Jan 18 11:31:45 2005 UTC revision 1.4 by jmd, Wed Apr 13 10:09:59 2005 UTC
# Line 48  cd $TEMPDIR Line 48  cd $TEMPDIR
48    
49  activity="create prog"  activity="create prog"
50  cat > $TEMPDIR/loop.stat <<EOF  cat > $TEMPDIR/loop.stat <<EOF
51  data list /x 1 y 2 z 3.  data list /x 1 y 2 zoological 3.
52  begin data.  begin data.
53  125  125
54  256  256
55  397  397
56  401  401
57  end data.  end data.
58  loop i=y to z by abs(z-y)/(z-y).  loop iterative_Variable=y to zoological by abs(zoological-y)/(zoological-y).
59  print /x i.  print /x iterative_Variable.
60  break.          /* Generates warning.  break.          /* Generates warning.
61  end loop.  end loop.
62  execute.  execute.
# Line 81  diff -B -b $TEMPDIR/pspp.list  - <<EOF Line 81  diff -B -b $TEMPDIR/pspp.list  - <<EOF
81  #========#======#=======#======#  #========#======#=======#======#
82  |X       |     1|  1-  1|F1.0  |  |X       |     1|  1-  1|F1.0  |
83  |Y       |     1|  2-  2|F1.0  |  |Y       |     1|  2-  2|F1.0  |
84  |Z       |     1|  3-  3|F1.0  |  |ZOOLOGIC|     1|  3-  3|F1.0  |
85  +--------+------+-------+------+  +--------+------+-------+------+
86  1     2.00  1     2.00
87  2     5.00  2     5.00

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26