pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[q2c 02/12] settings: Update default MXLOOPS and document.


From: Ben Pfaff
Subject: [q2c 02/12] settings: Update default MXLOOPS and document.
Date: Sat, 5 Nov 2011 20:11:24 -0700

MXLOOPS should be 40 by default, for compatibility.
---
 doc/flow-control.texi |    1 +
 doc/utilities.texi    |    1 +
 src/data/settings.c   |    2 +-
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/doc/flow-control.texi b/doc/flow-control.texi
index 892887e..b396e1f 100644
--- a/doc/flow-control.texi
+++ b/doc/flow-control.texi
@@ -169,6 +169,7 @@ condition on @cmd{END LOOP} will always execute at least 
once.
 
 If neither the index clause nor either condition clause is
 present, then the loop is executed MXLOOPS (@pxref{SET}) times.
+The default MXLOOPS is 40.
 
 @cmd{BREAK} also terminates @cmd{LOOP} execution (@pxref{BREAK}).
 
diff --git a/doc/utilities.texi b/doc/utilities.texi
index 93701fd..ef4774b 100644
--- a/doc/utilities.texi
+++ b/doc/utilities.texi
@@ -588,6 +588,7 @@ Currently not used.
 
 @item MXLOOPS
 The maximum number of iterations for an uncontrolled loop (@pxref{LOOP}).
+The default MXLOOPS is 40.
 
 @item SEED
 The initial pseudo-random number seed.  Set to a real number or to
diff --git a/src/data/settings.c b/src/data/settings.c
index 0868a33..95fda57 100644
--- a/src/data/settings.c
+++ b/src/data/settings.c
@@ -105,7 +105,7 @@ static struct settings the_settings = {
 
   true,                         /* printback */
   true,                         /* mprint */
-  1,                            /* mxloops */
+  40,                           /* mxloops */
   64L * 1024 * 1024,            /* workspace */
   {FMT_F, 8, 2},                /* default_format */
   false,                        /* testing_mode */
-- 
1.7.2.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]